Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

TextStructure

TextStructure["text"]
generates a nested collection of TextElement objects representing the grammatical structure of natural language text.

TextStructure["text",form]
generates a representation of the type specified by form of the grammatical structure of text.

DetailsDetails

  • Possible types of text structure include:
  • "ConstituentTree"nested text elements of phrase structure
    "ConstituentGraphs"graph of phrase structure
    "ConstituentString"string representing phrase structure
    "PartsOfSpeech"text elements tagging parts of speech
Introduced in 2015
(10.3)