Estrutura gramatical de textos
Construa e visualize as dependências gramaticais em uma frase ou estrutura com a nova função TextStructure.
In[1]:=
![Click for copyable input](assets.pt-br/grammatical-structure-of-texts/In_25.png)
TextStructure["The cat sat on the mat.", "DependencyGraphs"]
Out[1]=
![](assets.pt-br/grammatical-structure-of-texts/O_20.png)
O grafo da estrutura de uma frase.
In[2]:=
![Click for copyable input](assets.pt-br/grammatical-structure-of-texts/In_26.png)
TextStructure["The cat sat on the mat.", "ConstituentGraphs"]
Out[2]=
![](assets.pt-br/grammatical-structure-of-texts/O_21.png)