How to use Matlab to analyze the sentence structure for text analysis?
2 views (last 30 days)
Show older comments
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 Comments
Jan
on 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?
Answers (1)
Steven Lord
on 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.
See Also
Categories
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!