Fix PRON_LEMMA imports

This commit is contained in:
ines 2017-11-06 17:41:53 +01:00
parent 7d46793dd7
commit acb9bdb852
12 changed files with 12 additions and 26 deletions

View File

@ -1,4 +0,0 @@
# coding: utf8
from __future__ import unicode_literals
PRON_LEMMA = "-PRON-"

View File

@ -1,8 +1,7 @@
# coding: utf8 # coding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...deprecated import PRON_LEMMA from ...symbols import LEMMA, PRON_LEMMA
from ...symbols import LEMMA
MORPH_RULES = { MORPH_RULES = {

View File

@ -1,8 +1,8 @@
# coding: utf8 # coding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...symbols import LEMMA from ...symbols import LEMMA, PRON_LEMMA
from ...deprecated import PRON_LEMMA
MORPH_RULES = { MORPH_RULES = {
"PRON": { "PRON": {

View File

@ -1,8 +1,7 @@
# coding: utf8 # coding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...symbols import ORTH, LEMMA, TAG, NORM from ...symbols import ORTH, LEMMA, TAG, NORM, PRON_LEMMA
from ...deprecated import PRON_LEMMA
_exc = { _exc = {

View File

@ -1,8 +1,7 @@
# coding: utf8 # coding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...symbols import LEMMA from ...symbols import LEMMA, PRON_LEMMA
from ...deprecated import PRON_LEMMA
MORPH_RULES = { MORPH_RULES = {

View File

@ -1,8 +1,7 @@
# coding: utf8 # coding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...symbols import ORTH, LEMMA, TAG, NORM from ...symbols import ORTH, LEMMA, TAG, NORM, PRON_LEMMA
from ...deprecated import PRON_LEMMA
_exc = {} _exc = {}

View File

@ -1,8 +1,7 @@
# coding: utf8 # coding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...symbols import ORTH, LEMMA, TAG, NORM, ADP, DET from ...symbols import ORTH, LEMMA, TAG, NORM, ADP, DET, PRON_LEMMA
from ...deprecated import PRON_LEMMA
_exc = { _exc = {

View File

@ -7,8 +7,7 @@ from ._tokenizer_exceptions_list import FR_BASE_EXCEPTIONS
from .punctuation import ELISION, HYPHENS from .punctuation import ELISION, HYPHENS
from ..tokenizer_exceptions import URL_PATTERN from ..tokenizer_exceptions import URL_PATTERN
from ..char_classes import ALPHA_LOWER from ..char_classes import ALPHA_LOWER
from ...symbols import ORTH, LEMMA, TAG, NORM from ...symbols import ORTH, LEMMA, TAG, NORM, PRON_LEMMA
from ...deprecated import PRON_LEMMA
def upper_first_letter(text): def upper_first_letter(text):

View File

@ -1,8 +1,7 @@
# encoding: utf8 # encoding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...symbols import LEMMA from ...symbols import LEMMA, PRON_LEMMA
from ...deprecated import PRON_LEMMA
# Used the table of pronouns at https://no.wiktionary.org/wiki/Tillegg:Pronomen_i_norsk # Used the table of pronouns at https://no.wiktionary.org/wiki/Tillegg:Pronomen_i_norsk

View File

@ -1,8 +1,7 @@
# coding: utf8 # coding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...symbols import ORTH, LEMMA, NORM from ...symbols import ORTH, LEMMA, NORM, PRON_LEMMA
from ...deprecated import PRON_LEMMA
_exc = { _exc = {

View File

@ -1,8 +1,7 @@
# coding: utf8 # coding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...symbols import LEMMA from ...symbols import LEMMA, PRON_LEMMA
from ...deprecated import PRON_LEMMA
# Used the table of pronouns at https://sv.wiktionary.org/wiki/deras # Used the table of pronouns at https://sv.wiktionary.org/wiki/deras

View File

@ -1,8 +1,7 @@
# coding: utf8 # coding: utf8
from __future__ import unicode_literals from __future__ import unicode_literals
from ...symbols import ORTH, LEMMA, TAG, NORM from ...symbols import ORTH, LEMMA, TAG, NORM, PRON_LEMMA
from ...deprecated import PRON_LEMMA
_exc = {} _exc = {}