WOLFRAM

"Word" (Text Content Type)

[Experimental]
A word-like unit, usually delimited by whitespace or punctuation.

Details

Examples

Basic Examples  (4)Summary of the most common use cases

Segment a sentence into words:

Out[1]=1

Contractions and hyphenated compound words are detected as single words:

Out[1]=1

Punctuations between sentences are not detected as words:

Out[1]=1

Get the result as a list of "Word" entities:

TextCases[,"Word"] is equivalent to TextWords:

Out[1]=1