diff --git a/spacy/attrs.pxd b/spacy/attrs.pxd index d0f476dcd..61a00ba1b 100644 --- a/spacy/attrs.pxd +++ b/spacy/attrs.pxd @@ -14,7 +14,7 @@ cpdef enum attr_id_t: LIKE_EMAIL IS_STOP IS_OOV - + FLAG14 = 14 FLAG15 FLAG16 @@ -85,3 +85,11 @@ cpdef enum attr_id_t: HEAD SPACY 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 + diff --git a/spacy/attrs.pyx b/spacy/attrs.pyx index 3595fbf22..146f3ab26 100644 --- a/spacy/attrs.pyx +++ b/spacy/attrs.pyx @@ -13,7 +13,6 @@ IDS = { "LIKE_EMAIL": LIKE_EMAIL, "IS_STOP": IS_STOP, "IS_OOV": IS_OOV, - "FLAG14": FLAG14, "FLAG15": FLAG15, "FLAG16": FLAG16, diff --git a/spacy/symbols.pxd b/spacy/symbols.pxd index 0c60f6f67..942d8aa9c 100644 --- a/spacy/symbols.pxd +++ b/spacy/symbols.pxd @@ -14,7 +14,7 @@ cpdef enum symbol_t: IS_STOP IS_OOV - FLAG14 + FLAG14 = 14 FLAG15 FLAG16 FLAG17 @@ -419,3 +419,10 @@ cpdef enum symbol_t: rcmod root 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 diff --git a/spacy/symbols.pyx b/spacy/symbols.pyx index 31b01db98..712bef9a3 100644 --- a/spacy/symbols.pyx +++ b/spacy/symbols.pyx @@ -13,7 +13,6 @@ IDS = { "LIKE_EMAIL": LIKE_EMAIL, "IS_STOP": IS_STOP, "IS_OOV": IS_OOV, - "FLAG14": FLAG14, "FLAG15": FLAG15, "FLAG16": FLAG16,