<!-- Source: https://docs.squirro.com/en/latest/api/squirro.lib.nlp.steps.embedders.Embedder.html -->
# Embedder

**`class Embedder(config)`**

Bases: [`BatchedStep`](../technical/libnlp/steps/standard.md#squirro.lib.nlp.steps.batched_step.BatchedStep)

The [`Embedder`](#squirro.lib.nlp.steps.embedders.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`](https://docs.python.org/3.11/library/stdtypes.html#str)) – embedder
- `type` ([`str`](https://docs.python.org/3.11/library/stdtypes.html#str)) – Type of [`Embedder`](#squirro.lib.nlp.steps.embedders.Embedder)
- `input_field` ([`str`](https://docs.python.org/3.11/library/stdtypes.html#str)) – Field to embed
- `output_field` ([`str`](https://docs.python.org/3.11/library/stdtypes.html#str)) – Field to write embedding
