Skip to main content
Version: 0.95

templates.SequenceContextTemplateSchema

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

Sequence Context template

Parameters:
  • field (str) – Field

  • operator ({"LEFT", "RIGHT", "LEFT OR RIGHT"}) – Operator

  • value (str) – Pattern

  • case_sensitive (bool, default False) – Case sensitive or not

  • token_len (int) – Length of a token

  • case_sensitive – Case sensitive or not

  • tokenize (bool, default False) – Tokenize or not

  • regex (bool, default False) – If True, patterns are treated as regex

  • include_context (Optional[bool] = False)

  • word_boundary_tokenizer (Optional[bool] = True)