Skip to main content
Version: 0.94

templates.LexiconOverlapTemplateSchema

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

Lexicon Overlap template

Parameters:
  • field_1 (str) – Field 1

  • field_2 (str) – Field 2

  • denominator_field (str) – Denominator field

  • operator ({"=", "!=", "<", "<=", ">", ">="}) – Operator

  • value (float) – Value

  • lexicon_dict_path (str) – Path to a file containing lexicons

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

static artifact_config_keys()

The names of the fields in the template schema pydantic model that represent paths to files or directories that contain data which back the LF template. For example, paths to a dictionary on disk that’s used within an LF.

Return type:

List[str]