mirror of https://github.com/explosion/spaCy.git
Allow spacy attr in token pattern
This commit is contained in:
parent
2ed49404e3
commit
80e95d02b1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue