JoinFilter

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

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

Joins field into a list

Parameters
  • type (str) – join

  • input_field (str) – Field to join

  • output_field (str) – Field to join into

  • delimiter (str, ',') – Delimiter to join 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