Skip to main content
Version: 0.91

templates.SequenceContextTemplateSchema

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

Sequence Context template

Parameters

NameTypeDefaultInfo
fieldstrField.
operator{"LEFT", "RIGHT", "LEFT OR RIGHT"}Operator.
valuestrPattern.
case_sensitiveboolFalseCase sensitive or not.
token_lenintLength of a token.
case_sensitiveCase sensitive or not.
tokenizeboolFalseTokenize or not.
regexboolFalseIf True, patterns are treated as regex.
include_contextOptional[bool]False).
word_boundary_tokenizerOptional[bool]True).