mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Add PRON_LEMMA to spacy.symbols
This commit is contained in:
parent
2f7e9f390d
commit
7d46793dd7
|
@ -461,7 +461,7 @@ IDS = {
|
|||
"xcomp": xcomp,
|
||||
|
||||
"acl": acl,
|
||||
"LAW": LAW
|
||||
"LAW": LAW,
|
||||
}
|
||||
|
||||
|
||||
|
@ -469,6 +469,7 @@ def sort_nums(x):
|
|||
return x[1]
|
||||
|
||||
|
||||
PRON_LEMMA = "-PRON-"
|
||||
NAMES = [it[0] for it in sorted(IDS.items(), key=sort_nums)]
|
||||
# Unfortunate hack here, to work around problem with long cpdef enum
|
||||
# (which is generating an enormous amount of C++ in Cython 0.24+)
|
||||
|
|
Loading…
Reference in New Issue
Block a user