templates.SequenceContextTemplateSchema
- class templates.SequenceContextTemplateSchema(*args, **kwargs)
Sequence Context template
Parameters
Parameters
Name Type Default Info field str
Field. operator {"LEFT", "RIGHT", "LEFT OR RIGHT"}
Operator. value str
Pattern. case_sensitive bool
False
Case sensitive or not. token_len int
Length of a token. case_sensitive Case sensitive or not. tokenize bool
False
Tokenize or not. regex bool
False
If True, patterns are treated as regex. include_context Optional[bool]
False
). word_boundary_tokenizer Optional[bool]
True
).