Unsupervised-Sentiment-Analysis
There are two projects in this repository
- loader
- unsupervised-sentiment-analysis
The dependencies and resources required by the unsupervised-sentiment-analysis project are present here
Steps
- Go inside the loader directory and then execute the
start_loaderscript in the background.
> cd loader
> ./start_loader.sh &
Download the directory present here
After doing this, copy the
libsfolder to theunsupervised-sentiment-analysis/WebContent/WEB-INF/directory of the project
> cp -r libs unsupervised-sentiment-analysis/WebContent/WEB-INF/
- Then copy the
classesfolder tounsupervised-sentiment-analysis/WebContent/WEB-INF/
> cp -r classes unsupervised-sentiment-analysis/WebContent/WEB-INF/
- You will now need to import the unldb3_0.sql databse present inside the
Databasedirectory. Before doing that first create a database by that name
> mysql -u username -p
> create database unldb3_0
> exit
> mysql -u username -p unldb3_0 < Database/unldb3_0.sql
Now, go to the
unsupervised-sentiment-analysis/WebContent/WEB-INF/classes/propertiesfolder and edit the username and passowrd in theUnlEnco.propertiesfile to match your mysql settings.After doing this, import the
unsupervised-sentiment-analysisproject into eclipse. This is a web application project. Run the project on the apache-tomcat server