多语言展示
当前在线:1425今日阅读:26今日分享:39

如何使用mathematica分析句子的语法结构?

下面介绍如何使用mathematica分析句子的语法结构的具体操作方法。
工具/原料

mathematica11

方法/步骤
1

打开mathematica11,点击【新建笔记本】

2

此时进入笔记本界面

3

在命令行中,输入 TextStructure['The transcript of the interview follows'],然后按Enter+Shift

4

在命令行中,输入 TextStructure['There is one word too many in this sentence'],然后按Enter+Shift

5

在命令行中,输入 TextStructure['This interview was recorded during the 3GPP TSG Plenary meetings'],然后按Enter+Shift

6

分析更复杂的句子:在命令行中,输入 TextStructure['Interoperability and mission-critical service harmonization are critical challenges to be taken into account for the successful deployment and operation of mission-critical communications. The interoperability of MCPTT, MCData and MCVideo products and services has not been previously tested in the U.S.'],然后按Enter+Shift

推荐信息