import unicodedata
from abc import ABCMeta, abstractmethod


class TextProcessor():
    __metaclass__ = ABCMeta

    @abstractmethod
    def process(self, word):
        pass


class Normalizer(TextProcessor):
    def process(self, word):
        word = word.lower()
        unicodeform = unicodedata.normalize('NFKD', word)
        return u"".join([c for c in unicodeform if not unicodedata.combining(c)])



d371f2c2f7a1442897d84db59e2b737386c90e61
<mask token>


class Normalizer(TextProcessor):

    def process(self, word):
        word = word.lower()
        unicodeform = unicodedata.normalize('NFKD', word)
        return u''.join([c for c in unicodeform if not unicodedata.
            combining(c)])

<mask token>


class TextProcessor:
    <mask token>

    @abstractmethod
    def process(self, word):
        pass


class Normalizer(TextProcessor):

    def process(self, word):
        word = word.lower()
        unicodeform = unicodedata.normalize('NFKD', word)
        return u''.join([c for c in unicodeform if not unicodedata.
            combining(c)])

<mask token>


class TextProcessor:
    __metaclass__ = ABCMeta

    @abstractmethod
    def process(self, word):
        pass


class Normalizer(TextProcessor):

    def process(self, word):
        word = word.lower()
        unicodeform = unicodedata.normalize('NFKD', word)
        return u''.join([c for c in unicodeform if not unicodedata.
            combining(c)])

import unicodedata
from abc import ABCMeta, abstractmethod


class TextProcessor:
    __metaclass__ = ABCMeta

    @abstractmethod
    def process(self, word):
        pass


class Normalizer(TextProcessor):

    def process(self, word):
        word = word.lower()
        unicodeform = unicodedata.normalize('NFKD', word)
        return u''.join([c for c in unicodeform if not unicodedata.
            combining(c)])

import unicodedata
from abc import ABCMeta, abstractmethod


class TextProcessor():
    __metaclass__ = ABCMeta

    @abstractmethod
    def process(self, word):
        pass


class Normalizer(TextProcessor):
    def process(self, word):
        word = word.lower()
        unicodeform = unicodedata.normalize('NFKD', word)
        return u"".join([c for c in unicodeform if not unicodedata.combining(c)])


