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

  • Home
  • SEARCH
  • 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 144789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T08:18:32+00:00 2026-05-11T08:18:32+00:00

I am looking to use a natural language parsing library for a simple chat

  • 0

I am looking to use a natural language parsing library for a simple chat bot. I can get the Parts of Speech tags, but I always wonder. What do you do with the POS. If I know the parts of the speech, what then?

I guess it would help with the responses. But what data structures and architecture could I use.

  • 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. 2026-05-11T08:18:33+00:00Added an answer on May 11, 2026 at 8:18 am

    A part-of-speech tagger assigns labels to the words in the input text. For example, the popular Penn Treebank tagset has some 40 labels, such as ‘plural noun’, ‘comparative adjective’, ‘past tense verb’, etc. The tagger also resolves some ambiguity. For example, many English word forms can be either nouns or verbs, but in the context of other words, their part of speech is unambiguous. So, having annotated your text with POS tags you can answer questions like: how many nouns do I have?, how many sentences do not contain a verb?, etc.

    For a chatbot, you obviously need much more than that. You need to figure out the subjects and objects in the text, and which verb (predicate) they attach to; you need to resolve anaphors (which individual does a he or she point to), what is the scope of negation and quantifiers (e.g. every, more than 3), etc.

    Ideally, you need to map you input text into some logical representation (such as first-order logic), which would let you bring in reasoning to determine if two sentences are equivalent in meaning, or in an entailment relationship, etc.

    While a POS-tagger would map the sentence

    Mary likes no man who owns a cat. 

    to such a structure

    Mary/NNP likes/VBZ no/DT man/NN who/WP owns/VBZ a/DT cat/NN ./. 

    you would rather need something like this:

    SubClassOf(    ObjectIntersectionOf(       Class(:man)       ObjectSomeValuesFrom(          ObjectProperty(:own)          Class(:cat)       )    )    ObjectComplementOf(       ObjectSomeValuesFrom(          ObjectInverseOf(ObjectProperty(:like))          ObjectOneOf(             NamedIndividual(:Mary)          )       )    ) ) 

    Of course, while POS-taggers get precision and recall values close to 100%, more complex automatic processing will perform much worse.

    A good Java library for NLP is LingPipe. It doesn’t, however, go much beyond POS-tagging, chunking, and named entity recognition.

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

Sidebar

Related Questions

I am looking to use a PHP library for uploading pictures to a web
I am looking to use quartz to schedule emails, but I'm not sure which
I am looking to use Java to get the MD5 checksum of a file.
I'm looking for a way to automatically determine the natural language used by a
I am looking to use my screen real estate to look at several simple
I am looking to use this plugin: http://keith-wood.name/countdown.html but I need to use the
I have a class which makes use of regular expression for Natural Language Processing
Im looking to use a document database such as MongoDB but looking through the
I'm looking for a library to simply validate the the syntax of english natural
I'm looking to use a blank div element to display a background image but

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.