Allow spacy attr in token pattern

This commit is contained in:
Ines Montani 2020-02-18 14:32:53 +01:00
parent 2ed49404e3
commit 80e95d02b1
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ class TokenPattern(BaseModel):
ent_type: Optional[StringValue] = None
norm: Optional[StringValue] = None
length: Optional[NumberValue] = None
spacy: Optional[StrictBool] = None
is_alpha: Optional[StrictBool] = None
is_ascii: Optional[StrictBool] = None
is_digit: Optional[StrictBool] = None