Add PRON_LEMMA and DET_LEMMA to deprecated

Will be replaced with proper values across the language data later.
This commit is contained in:
ines 2017-05-08 15:35:30 +02:00
parent bd6a7cf4f6
commit f68e420bc0
2 changed files with 5 additions and 5 deletions

View File

@ -42,6 +42,8 @@ def fix_glove_vectors_loading(overrides):
def match_best_version(target_name, target_version, path):
def split_data_name(name):
return name.split('-', 1) if '-' in name else (name, '')
PRON_LEMMA = "-PRON-"
DET_LEMMA = "-DET-"
path = util.ensure_path(path)
if path is None or not path.exists():

View File

@ -1,8 +1,9 @@
# coding: utf8
from __future__ import unicode_literals
from ..symbols import *
from .util import ENT_ID
from ..symbols import ORTH, ENT_TYPE, LOWER
ENT_ID = "ent_id"
ENTITY_RULES = [
@ -201,6 +202,3 @@ FALSE_POSITIVES = [
[{ORTH: "Yea"}],
[{ORTH: "Bah"}]
]
__all__ = ["ENTITY_RULES", "FALSE_POSITIVES"]