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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:06:52+00:00 2026-05-25T19:06:52+00:00

So, I found and am currently using Stanford Parser and it works GREAT for

  • 0

So, I found and am currently using Stanford Parser and it works GREAT for splitting sentences. Most of our sentences are from AP so it works very well for that task.

Here’s the problems:

  • it eats a LOT of memory (600M a lot)
  • it really screws up the formatting of a body of text where I have to make a lot of edge cases for later on. (the document pre-processor API calls don’t allow to specify ascii/utf8 quotes — they immediately goto latex style, contractions get split into different words (obviously) and spurious spaces are put into different places)

To this end, I’ve already written multiple patches to compensate for what I really shouldn’t be having to do.

Basically it’s at the point where it is just as much of a hindrance to use as the problem of splitting sentences to begin with.

What are my other options? Any other NLP type of frameworks out there that might help out?

My original problem is just being able to detection sentence edges with a high degree of probability.

  • 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-25T19:06:52+00:00Added an answer on May 25, 2026 at 7:06 pm

    If you want to try sticking with the Stanford Tokenizer/Parser, look at the documentation page for the tokenizer.

    If you just want to split sentences, you don’t need to invoke the parser proper, and so you should be able to get away with a tiny amount of memory – a megabyte or two – by directly using DocumentPreprocessor.

    While there is only limited customization of the tokenizer available, you can change the processing of quotes. You might want to try one of:

    unicodeQuotes=false,latexQuotes=false,asciiQuotes=false
    unicodeQuotes=true
    

    The first will mean no quote mapping of any kind, the second would change single or doubled ascii quotes (if any) into left and right quotes according to the best of its ability.

    And while the tokenizer splits words in various ways to match Penn Treebank conventions, you should be able to construct precisely the original text from the tokens returned (see the various other fields in the CoreLabel). Otherwise it’s a bug.

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

Sidebar

Related Questions

I'm currently using UKPhoneNumberField in one of my forms. I recently found that if
I'm currently using a class found here: http://www.qualitybrain.com/?p=84 All is working well, however I
I am currently using Subversion as my Source Control system, mainly because I found
I just found out about superfish and currently using it on an asp.net. The
Currently, I'm using a strategy found on many blog posts. Basically, the URL contains
I'm currently using mysql w/ PHP because that's what I learned and haven't ever
I'm currently using *.plist files for my iPhone app to store information that is
I'm currently using OpenGL on Android to draw set width lines, which work great
I'm currently using the confirmaction jQuery plugin found here: http://www.webstuffshare.com/2010/03/jquery-plugin-jconfirmaction/ And my question is
I'm currently using TortoiseSVN to do a merge of two branches and I've found

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.