2017-05-08 17:22:17 +03:00
|
|
|
# coding: utf8
|
|
|
|
from __future__ import unicode_literals
|
2017-05-08 16:47:25 +03:00
|
|
|
|
|
|
|
from .lookup import LOOKUP
|
2017-03-12 15:46:00 +03:00
|
|
|
from ._adjectives import ADJECTIVES
|
|
|
|
from ._adjectives_irreg import ADJECTIVES_IRREG
|
|
|
|
from ._adverbs import ADVERBS
|
|
|
|
from ._adverbs_irreg import ADVERBS_IRREG
|
|
|
|
from ._nouns import NOUNS
|
|
|
|
from ._nouns_irreg import NOUNS_IRREG
|
|
|
|
from ._verbs import VERBS
|
|
|
|
from ._verbs_irreg import VERBS_IRREG
|
|
|
|
from ._lemma_rules import ADJECTIVE_RULES, NOUN_RULES, VERB_RULES, PUNCT_RULES
|
|
|
|
|
|
|
|
|
2017-05-08 16:47:25 +03:00
|
|
|
LEMMA_INDEX = {'adj': ADJECTIVES, 'adv': ADVERBS, 'noun': NOUNS, 'verb': VERBS}
|
2017-03-12 15:46:00 +03:00
|
|
|
|
2017-05-08 16:47:25 +03:00
|
|
|
LEMMA_EXC = {'adj': ADJECTIVES_IRREG, 'adv': ADVERBS_IRREG, 'noun': NOUNS_IRREG,
|
|
|
|
'verb': VERBS_IRREG}
|
2017-03-12 15:46:00 +03:00
|
|
|
|
2017-05-08 16:47:25 +03:00
|
|
|
LEMMA_RULES = {'adj': ADJECTIVE_RULES, 'noun': NOUN_RULES, 'verb': VERB_RULES,
|
|
|
|
'punct': PUNCT_RULES}
|