Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7878461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:40:01+00:00 2026-06-03T03:40:01+00:00

I’m a college student looking for a NLP library to perform subject extraction and

  • 0

I’m a college student looking for a NLP library to perform subject extraction and sentiment analysis in a Java-based web application for a summer-hobby project.

To give you a little context on what I’m trying to do… I want to build a Java-based web application that will extract subjects out of a Reddit submission’s headlines, as well as identify the OP’s sentiment for the headline (when possible).

Example Inputs:

  • Reddit, we took the anti-SOPA petition from 943,702 signatures to
    3,460,313. The anti-CISPA petition is at 691,768, a bill expansively
    worse than SOPA. Please bump it, then let us discuss further measures
    or our past efforts are in vain. We did it before, I’m afraid we are
    called on to do it again.
  • My friend calls him “Mr Ridiculously Photogenic Guy”
  • Insanity: CISPA Just Got Way Worse, And Then Passed On Rushed Vote

I’m currently trying out AlchemyAPI, but it sounds like better NLP libraries exist out there. Preferablly, I wouldn’t be restricted to a limited number of API requests in a given time period (AlchemyAPI has a quota). I’ve heard the names of GATE, LingPipe, and OpenNLP – however, I’m unsure whether they fit my needs.

I’m looking for framework/library/api recommendations, or even better, comparisons from experienced users. My experience with NLP is extremely limited, which is why I’m asking for help here (ps: if anyone has any resources for learning more, outside of http://www.nlp-class.org, please let me know!) 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T03:40:04+00:00Added an answer on June 3, 2026 at 3:40 am

    First, I’d highly recommend using python, as the NLP libraries are a bit more user friendly than java, and it’d be a lot less code to maintain for a one-man project.

    I can’t think of anything off the top of my head to do either classification, so my recommendation would be to train two classifiers, one for subject, and one for sentiment. You’ll have to label data and define features, but I think that wouldn’t be too hard, especially with sentiment where you build up a dictionary of ’emotion’ words. Labeling data is a pain in the ass, but that and good features are how you get good classification.

    Subject Classifier:

    Use NLTK with a Naive Bayes classifier, and define features as the word (lowercased), and word bigrams and trigrams.

    Sentiment Classifier:

    Same features as subject classifier, but also have a feature that says word w is in emotion dictionary with connection c. So, word ‘bad’ means ‘bad sentiment’.

    Once you’ve amassed sufficient training/testing data, you train your classifiers and optimize features, if necessary, and then you can run the classifiers against whatever other data you want.

    General Purpose Libraries (Java):

    • OpenNLP
    • LingPipe
    • Weka
    • Stanford stuff

    Libraries (Python):

    • NLTK
    • Scipy
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have thousands of HTML files to process using Groovy/Java and I need to
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.