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
from __future__ import unicode_literals
from ...deprecated import PRON_LEMMA
from ...symbols import LEMMA
from ...symbols import LEMMA, PRON_LEMMA
MORPH_RULES = {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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