How to use Matlab to analyze the sentence structure for text analysis?

6 次查看(过去 30 天)
How to make matlab generate the structure of sentence analysis, like object, subject, verb, clause (like object clouse etc) like Python NLTK?
For example, 'I like you because you are smart'. "I": object, "like": verb, "you": subject, "becuase you are smart": adverb clouse of cause. Can matlab do that and how ?
Thanks!
  4 个评论
Jan
Jan 2019-6-21
There is a Java interface, which contacts CoreNLP: https://github.com/stanfordnlp/CoreNLP . You can call Java from Matlab also. If there is a working Python toolbox, why not using it?
Miao
Miao 2019-6-21
Because matlab is the primary software our company use, but if matlab cannot do this, I will move to use python.

请先登录,再进行评论。

回答(1 个)

Steven Lord
Steven Lord 2019-6-21
I'm not certain if Text Analytics Toolbox does all of what you want but I recommend reviewing the documentation, specifically the Text Data Preparation chapter, to check. If not, you could submit an enhancement request with details about your application and the functionality you wanted to see to Technical Support by using the telephone handset icon in the upper-right corner of that page.
  1 个评论
Miao
Miao 2019-6-21
I searched in text data preparation and seems that there is no function to analyze sentence structure to get verb, subject, clause etc. I just submitted a requst through tech support. This funcitno is important for NLP analysis to increase the accuracy on sentence understanding, it is nice for matlab to have this function.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by