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 438321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:39:59+00:00 2026-05-12T20:39:59+00:00

I am trying to parse some text and diagram it, like you would a

  • 0

I am trying to parse some text and diagram it, like you would a sentence. I am new to NLTK and am trying to find something in NLTK that will help me accomplish this. So far, I have seen nltk.ne_chunk and nltk.pos_tag. I find them to be not very helpful and I am not able to find any good online documentation.

I have also tried to use the LancasterStemmer, but I don’t fully understand what it does or how it should be used or why it even exists.

Can somebody please help me out with this? I’m really at a loss and getting quite frustrated without any guiding lights.

Thanks in advance

  • 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-05-12T20:40:00+00:00Added an answer on May 12, 2026 at 8:40 pm

    What you are describing is actually a really hard task, as in the end, whether your program has succeeded or failed is an entirely subjective measure. When this is the case, it usually means constructing a program to solve the problem is hard. There are people who get paid to work on these kind problems in universities.

    If you wanted to have a stab at it, I’d suggest trying for to use some kind on automated lexical analysis tool rather than trying to manually parse and annotate, and then leverage your parse tree. Usually parse-trees represent syntactic analyses, ie the structure of the sentence. You on the other hand are concerned rather with semantic analysis, ie what it means – or at least whether two sentences are similar or different (which is actually a bit easier than what something means).

    You could look into some off-the-shelf automatic summarization tools. These try to score sentences by how important they are to a piece of text and filter out sentences which are less important than a specified threshold. Not that this really helps you that much as you still have the problem of needing the merge the summaries.

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

Sidebar

Related Questions

I have a text file which I'm trying to parse. The file looks like
I am trying to use XDocument.Parse(string s) to parse some XML that is being
I'm trying to parse some JSON using the JSon.Net library. The documentation seems a
I have some HTML I am trying to parse. There are cases where the
I have been trying to parse Java exceptions that appear in a log for
I'm trying to parse html that contains both an ordered list as well as
I'm trying to parse some JSON coming from an AJAX request using jQuery. Basically,
I'm trying to parse a grammar in ocamlyacc (pretty much the same as regular
I'm trying to parse an INI file using C++. Any tips on what is
I'm trying to parse objects to XML in Delphi, so I read about calling

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.