neuralset.events.transforms.text.AddContextToWords¶
- pydantic model neuralset.events.transforms.text.AddContextToWords[source][source]¶
Add a context field to the events dataframe, for each word event, by concatenating the sentence fields.
Warning
Unstable API — the context representation (per-word concatenated strings) will be replaced with compact indices in a future release.
- Parameters:
- Fields: