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

6 vues (au cours des 30 derniers jours)
Miao
Miao le 21 Juin 2019
Commenté : Miao le 21 Juin 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 commentaires
Jan
Jan le 21 Juin 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 le 21 Juin 2019
Because matlab is the primary software our company use, but if matlab cannot do this, I will move to use python.

Connectez-vous pour commenter.

Réponses (1)

Steven Lord
Steven Lord le 21 Juin 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 commentaire
Miao
Miao le 21 Juin 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by