Skip to main content
Version: 0.96

templates.KeywordLocationSchema

class templates.KeywordLocationSchema(*args, **kwargs)

Keyword Location template

Parameters

NameTypeDefaultInfo
fieldstrField.
patternstrPattern.
unit{"chars", "words", "lines", "sentences", "paragraphs"}Unit.
startint0Start index.
endintsys.maxsizeEnd index.
operatorstr">="Operator.
frequencyint1Number of occurences.
case_sensitiveboolFalseCase sensitive or not.
regexboolFalseIf True, the pattern is treated as a regex.
tokenizeboolFalseTokenize or not.