Segment Text

text · N096 · starter-package 7.0.1

Split Unicode text into graphemes, words or sentences. Set Unit to grapheme, word or sentence. Word mode drops punctuation and spaces. Locale defaults to en. A combined character or emoji can form one grapheme.

Example

Connected values

{"text":"é🍋","unit":"grapheme"}

Result

{"result":["é","🍋"]}

Connector data types

DirectionConnectorTypeRequired
Inputtext — Texttextyes
Inputunit — Unittextyes
Inputlocale — Localetextno
Outputresult — Resultliston success

Errors and recovery

Set Unit to grapheme, word or sentence. Use grapheme to keep a combined letter or emoji together.