mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
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
Block a user