Skip to content
Eduardo Pignatelli edited this page Sep 20, 2017 · 7 revisions

Semantic Analysis Engine

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.

FAQ

  1. 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 file stanford-corenlp-3.8.0-models.jar to the directory C:\Users\YOURUSERNAME\AppData\Roaming\BHoM. Rename it to stanford-corenlp-3.8.0. Restart Rhino.

  2. 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 input sentiment or sentimentValue. To explore additional properties you can browse annotators here.

Clone this wiki locally