Skip to main content
Version: 0.93

templates.SpanContextTemplateSchema

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

Span Context template

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

  • value (str) – Value

  • window (int) – The number of words within the span that we will search.

  • regex (bool, default False) – If True, the pattern is treated as a regex

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

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