SplitFilter

class squirro.lib.nlp.steps.filters.SplitFilter(config)

Bases: squirro.lib.nlp.steps.filters.Filter

Splits field into a list

Parameters
  • type (str) – split

  • input_field (str) – Field to split

  • output_field (str) – Field to split into

  • delimiter (str, ',') – Delimiter to split on

Methods Summary

process_doc(doc)

Process a document

Methods Documentation

process_doc(doc)

Process a document

Parameters

doc (Document) – Document

Returns

Processed document

Return type

Document