templates.KeywordLocationSchema
- class templates.KeywordLocationSchema(*args, **kwargs)
Keyword Location template
Parameters
Parameters
Name Type Default Info field str
Field. pattern str
Pattern. unit {"chars", "words", "lines", "sentences", "paragraphs"}
Unit. start int
0
Start index. end int
sys.maxsize
End index. operator str
">="
Operator. frequency int
1
Number of occurences. case_sensitive bool
False
Case sensitive or not. regex bool
False
If True, the pattern is treated as a regex. tokenize bool
False
Tokenize or not.