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

1 Ansicht (letzte 30 Tage)
Miao
Miao am 21 Jun. 2019
Kommentiert: Miao am 21 Jun. 2019
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 Kommentare
Jan
Jan am 21 Jun. 2019
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 am 21 Jun. 2019
Because matlab is the primary software our company use, but if matlab cannot do this, I will move to use python.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Steven Lord
Steven Lord am 21 Jun. 2019
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 Kommentar
Miao
Miao am 21 Jun. 2019
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by