Grammatical Structure of Texts
Build and visualize the grammatical dependencies in a sentence or structure with the new TextStructure function.
In[1]:=
TextStructure["The cat sat on the mat.", "DependencyGraphs"]
Out[1]=
Graph of phrase structure.
In[2]:=
TextStructure["The cat sat on the mat.", "ConstituentGraphs"]
Out[2]=