Embedder

class squirro.lib.nlp.steps.embedders.Embedder(config)

Bases: squirro.lib.nlp.steps.batched_step.BatchedStep

The Embedder step converts a word or phrase into a vector of numbers. This vector can then be used downstream in various models.

Parameters
  • step (str) – embedder

  • type (str) – Type of Embedder

  • input_field (str) – Field to embed

  • output_field (str) – Field to write embedding