Skip to main content
Version: 0.91

templates.SpanLocationTemplateSchema

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

Span Location template

Parameters

NameTypeDefaultInfo
span_text_fieldstrSpan field.
span_fieldstrField from which spans are extracted from.
operator{"=", "!=", "<", "<=", ">", ">="}">="Operator.
frequencyint1Number of occurencens.
unit{"chars", "words", "lines", "sentences", "paragraphs"}"paragraphs"Unit.
startint0Start index.
endintsys.maxsizeEnd index.
case_sensitiveboolFalseCase sensitive or not.