テキストの文法構造
新しいTextStructure関数を使って,文あるいは構造の文法的な依存を構築し可視化する.
In[1]:=
![Click for copyable input](assets.ja/grammatical-structure-of-texts/In_25.png)
TextStructure["The cat sat on the mat.", "DependencyGraphs"]
Out[1]=
![](assets.ja/grammatical-structure-of-texts/O_20.png)
句構造のグラフ.
In[2]:=
![Click for copyable input](assets.ja/grammatical-structure-of-texts/In_26.png)
TextStructure["The cat sat on the mat.", "ConstituentGraphs"]
Out[2]=
![](assets.ja/grammatical-structure-of-texts/O_21.png)
新しいTextStructure関数を使って,文あるいは構造の文法的な依存を構築し可視化する.
TextStructure["The cat sat on the mat.", "DependencyGraphs"]
句構造のグラフ.
TextStructure["The cat sat on the mat.", "ConstituentGraphs"]