-
Notifications
You must be signed in to change notification settings - Fork 14
MachineLearning
The semantic analysis engine allows you to do quick analysis on semantics of written text.
It is based on the StanfordCoreNLP framework, which you explore here: https://stanfordnlp.github.io/CoreNLP/index.html.
This tool is exposed in the Grasshopper UI thorough the package MachineLearning_Engine
. To use it, get the Grasshopper_Toolkit, and use the wheel to know what you need to install it.
-
Q: I receive the error:
1. Solution exception:Could not load file or assembly 'stanford-corenlp-3.8.0, Version=3.8.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified
What should I do?
A: Download the Stanford CoreNLP – Natural language software. Unzip it, and copy the filestanford-corenlp-3.8.0-models.jar
to the directoryC:\Users\YOURUSERNAME\AppData\Roaming\BHoM
. Rename it tostanford-corenlp-3.8.0
. Restart Rhino. -
Q: I do not know what to input in
Property
field of the Grasshopper component.
How can I extract a value?
A: To extract the sentiment of the sentence, just inputsentiment
orsentimentValue
. To explore additional properties you can browse annotators here.