Git Product home page Git Product logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Sorry, in step (1) above, it should read:
1) pass HTML to boilerpipe's HTML highlighter

Original comment by [email protected] on 19 Jun 2011 at 9:28

from boilerpipe.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Matching at term-level is out of scope for boilerpipe.

See Lucene's Highlighter class for a starting point:
http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/all/org/apac
he/lucene/search/highlight/Highlighter.html

Original comment by ckkohl79 on 21 Mar 2012 at 9:30

  • Changed state: WontFix
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from boilerpipe.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Hi, if this is not a complete reject... :-)

I am not asking for matching at term level for boilerpipe. I am asking for 
character offsets (wrt the input text) in the non-boilerplate output returned 
by boilerpipe (ie step 2 in the original post).

So assuming an input text:
# 0                  1                  2                  3                  4 
                 5
# 012345678901234567890123456789012345678901234567890123456789
   BOILERPLATEsome good textMORE BOILERPLATE....

the output of boilerpipe is:
some good text

I am asking for a way to say that "some good text"  starts at position 10 and 
ends at position 21 in the original text. The rest I can do in my application.

I ask because I think this is already being done by the boilerpipe highlighter, 
so the information exists, but I couldn't figure out a way to get to it.

Thanks again,
Sujit

Original comment by [email protected] on 21 Mar 2012 at 11:09

from boilerpipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.