* Add placeholders for the new flags in attrs and symbols

This commit is contained in:
Matthew Honnibal 2016-02-04 15:49:45 +01:00
parent e5c96c969f
commit c4017a06d9
4 changed files with 17 additions and 4 deletions

View File

@ -85,3 +85,11 @@ cpdef enum attr_id_t:
HEAD HEAD
SPACY SPACY
PROB PROB
# Move these up to FLAG14--FLAG18 once we finish the functionality and
# are ready to regenerate the model
#IS_BRACKET
#IS_QUOTE
#IS_LEFT_PUNCT
#IS_RIGHT_PUNCT

View File

@ -13,7 +13,6 @@ IDS = {
"LIKE_EMAIL": LIKE_EMAIL, "LIKE_EMAIL": LIKE_EMAIL,
"IS_STOP": IS_STOP, "IS_STOP": IS_STOP,
"IS_OOV": IS_OOV, "IS_OOV": IS_OOV,
"FLAG14": FLAG14, "FLAG14": FLAG14,
"FLAG15": FLAG15, "FLAG15": FLAG15,
"FLAG16": FLAG16, "FLAG16": FLAG16,

View File

@ -14,7 +14,7 @@ cpdef enum symbol_t:
IS_STOP IS_STOP
IS_OOV IS_OOV
FLAG14 FLAG14 = 14
FLAG15 FLAG15
FLAG16 FLAG16
FLAG17 FLAG17
@ -419,3 +419,10 @@ cpdef enum symbol_t:
rcmod rcmod
root root
xcomp xcomp
# Move these up to FLAG14--FLAG18 once we finish the functionality
# and are ready to regenerate the model.
#IS_BRACKET
#IS_QUOTE
#IS_LEFT_PUNCT
#IS_RIGHT_PUNCT

View File

@ -13,7 +13,6 @@ IDS = {
"LIKE_EMAIL": LIKE_EMAIL, "LIKE_EMAIL": LIKE_EMAIL,
"IS_STOP": IS_STOP, "IS_STOP": IS_STOP,
"IS_OOV": IS_OOV, "IS_OOV": IS_OOV,
"FLAG14": FLAG14, "FLAG14": FLAG14,
"FLAG15": FLAG15, "FLAG15": FLAG15,
"FLAG16": FLAG16, "FLAG16": FLAG16,