Skip to content

Min-Chen/HCI_Sentiment_Analysis_Min_Chen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HCI_Sentiment_Analysis_Min_Chen

Sentiment analysis module for intelligent tutoring system.

Dependency Requirement

  1. Java 1.8
  2. All the dependencies libraries are under the /lib directory in this repository except for the Stanford core nlp library, which needs to be installed using mvn plugin in Intellij (this will be covered in next section).

How to Install

  1. Download IDE(Intellij Community Version) from https://www.jetbrains.com/idea/download/?utm_expid=.ofjb89XbTQqGQqkIvxouYw.0&utm_referrer=https%3A%2F%2Fwww.google.com%2F#section=mac .

  2. Go to your desired local directory.

  3. Run command to clone the sentiment analysis repository from github: git clone https://github.com/Min-Chen/HCI_Sentiment_Analysis_Min_Chen.git.

  4. Use Intellij to open this repository locally.

  5. Install Stanford core nlp library.

    • In Intellij, go to file -> Project Stucture; alt text

    • Install stanford core nlp library alt text

    Input the library name and hit enter to search for the library in mvn. alt text

    Wait for some time to find the library. When the "OK" button is ready, hit "OK". alt text

    Click OK. And the Stanford core nlp library should be installed successfully. alt text

  6. Install Stanford core nlp models.

How to use

  1. Make sure the repository is installed locally.
  2. Run the main class DriverSentimentAnalysis.java. You should see that "> Server starts at port: 3050". That means this sentiment analysis module is successfully running.
  3. Type the sentence you want to do sentiment analysis.
  • e.g. Type in "Japanese is too hard for me to learn." The system will do sentiment analysis on the sentence, and output the sentiment result for you below this sentence.

About

Sentiment analysis module for intelligent tutoring system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages