Wolfram言語

グラフとネットワーク

テキストの文法構造

新しいTextStructure関数を使って,文あるいは構造の文法的な依存を構築し可視化する.

In[1]:=
Click for copyable input
TextStructure["The cat sat on the mat.", "DependencyGraphs"]
Out[1]=

句構造のグラフ.

In[2]:=
Click for copyable input
TextStructure["The cat sat on the mat.", "ConstituentGraphs"]
Out[2]=

関連する例

de en es fr ko pt-br ru zh