neuralset.events.transforms.text.EnsureTexts¶
- pydantic model neuralset.events.transforms.text.EnsureTexts[source][source]¶
Create Text events from Words if not already present.
- Parameters:
punctuation (str or None) –
"spacy"— capitalize first letter of each sentence and add language-appropriate sentence-ending punctuation via spaCy sentence segmentation."fullstop"—oliverguhr/fullstop-punctuation-multilang-largeDL punctuation restoration (requiresdeepmultilingualpunctuation). May need a GPU.None— plain space-join (no punctuation added).- Fields: