mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
Add PRON_LEMMA and DET_LEMMA to deprecated
Will be replaced with proper values across the language data later.
This commit is contained in:
parent
bd6a7cf4f6
commit
f68e420bc0
|
@ -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():
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user