定义和词类
PartOfSpeech 可以识别一个单词的可用方法.
In[1]:=
![Click for copyable input](assets.zh/definitions-and-parts-of-speech/In_60.png)
PartOfSpeech /@ {"dolphin", "root", "light"}
Out[1]=
![](assets.zh/definitions-and-parts-of-speech/O_45.png)
WordDefinition 为给定单词提供了一系列简短的定义.
In[2]:=
![Click for copyable input](assets.zh/definitions-and-parts-of-speech/In_61.png)
WordDefinition["dolphin"]
Out[2]=
![](assets.zh/definitions-and-parts-of-speech/O_46.png)
果然,拥有长的词类列表的单词也会有较多的定义.
In[3]:=
![Click for copyable input](assets.zh/definitions-and-parts-of-speech/In_62.png)
WordDefinition["root"] // Length
Out[3]=
![](assets.zh/definitions-and-parts-of-speech/O_47.png)
In[4]:=
![Click for copyable input](assets.zh/definitions-and-parts-of-speech/In_63.png)
WordDefinition["light"] // Length
Out[4]=
![](assets.zh/definitions-and-parts-of-speech/O_48.png)