Sentiment Analysis using LingPipe on windows 7:

Paras Doshi - Blog

In this post, I’ll point you to the resource using which you can perform sentiment analysis using LingPipe on a windows OS. Along with that I’ll share couple of issues that I ran into when I was trying to run this demo on a Windows 7:

So first up, here’s the resource:

http://alias-i.com/lingpipe/demos/tutorial/sentiment/read-me.html

Now here are a couple of issues that I had:

1. Error: could not find or load the main class PolarityBasic

lingpipe could not find or load main class polaritybasic

To solve this error, you’ll need to build the files given under the C:\lingpipe-4.1.0\demos\tutorial\sentiment – we use ANT for this. Let’s see how to do that:

2. Building sentiment.jar using ant jar

After successfully downloading ant on windows and setting the ANT_HOME variable to c:\apache-ant-1.8.4 – I was still getting the error that ant is not a recognized command.

So I ran following commands:

C:\>set ANT_HOME=C:\apache-ant-1.8.1
C:\>set JAVA_HOME=C:\jdk1.6.0_24
C:\>set PATH=%ANT_HOME%\bin;%JAVA_HOME%\bin
C:\>ant -version
// it worked!

Thanks:

View original post 58 more words

About fdnropsec

I have earned a Bachelor of Science in International Relations from the University of Houston where I also minored in International Business and Print Journalism. During my time in the journalism field I had the unique opportunity to meet and interview President George W. Bush and former Defense Secretary Robert Gates during the lead up to the Iraq war. Since then my studies have focused on predictive analytics in the areas of nuclear counter-terrorism, criminal intelligence analysis and foreign policy analysis in a freelance capacity. Currently, I am pursuing a Master of Arts in Intelligence Studies at American Military University. I am a contributing member of the Academy of Political Science, member of the National Military Intelligence Association, and am an International Gold Key Scholar. That said, I have designed this collective analytical effort to operationalize and fuse various analytic frameworks so as to generate a predictive model that will mitigate cognitive bias, frivolous speculation, and nonsensical character assaults, and ultimately deliver comprehensive quantifiable OSINT products containing sound and transparent analytic judgments to the search for Dylan Redwine deliverable through a custom Geographic Information System (GIS).

Posted on March 11, 2013, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: