Explore a estrutura dos textos
A versão 11 inclui uma nova e sofisticada ferramenta para analisar e visualizar textos, TextStructure.
Gere uma coleção agrupada de objetos de TextElement representando a estrutura gramatical de uma oração genérica.
In[1]:=
TextStructure["The cat sat on the mat."]Out[1]=

Mostre apenas legendas dos elementos gramaticais.
In[2]:=
TextStructure["The cat sat on the mat.", "PartsOfSpeech"]Out[2]=
Mostre as dependências gramaticais em uma representação gráfica.
In[3]:=
TextStructure["The cat sat on the mat.", "DependencyGraphs"]Out[3]=
