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