Code Monkey home page Code Monkey logo

boilerpipe's People

Contributors

manuelcodiga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boilerpipe's Issues

HTML output only includes html end tags

I am using the following code to extract the main HTML code from a site:

final BoilerpipeExtractor extractor = CommonExtractors.ARTICLE_EXTRACTOR;
final HtmlArticleExtractor htmlExtr = HtmlArticleExtractor.INSTANCE;
html = htmlExtr.process(extractor, url);
System.out.println("Unprocessed HTML: " + html);

When I run it for example on http://www.bbc.co.uk/sport/0/formula1/22231116 . I get the following result:

`Bahrain GP: Mercedes' Nico Rosberg on pole position By Andrew BensonChief F1 writer in Bahrain  Mercedes driver Nico Rosberg took pole position for the Bahrain Grand Prix from Red Bull's Sebastian Vettel and Ferrari's Fernando Alonso.

Rosberg beat Vettel by 0.254 seconds with Alonso a further 0.083secs behind.

Mercedes' Lewis Hamilton and Red Bull's Mark Webber qualified fourth and fifth, but will be demoted five and three places as a result of grid penalties.

That means Ferrari's Felipe Massa will start fourth ahead of Force India's Paul di Resta.

“When I saw the gap to Nico I realised that even with a perfect lap we couldn't have beaten [him] todaySebastian VettelRed Bull The Scot's team-mate Adrian Sutil qualified seventh and will start sixth, ahead of Webber, Lotus's Kimi Raikkonen, who qualified ninth, Hamilton and McLaren's Jenson Button.

Hamilton earned a five-place pe....`

As you can see no opening HTML tags. Is this supposed to happen? And is there a work around? Thanks

Is this fork still maintained?

I am working on a command line utility to help with execution of boilerpipe in a pipeline as well as creating a web api (likely a separate project). I was going to upload my own fork of 2.2.0 from the subversion repo however, if this project is alive and well, I'd rather work off/with others than just drop another fork.

Is this fork/project still maintained?

Can't find version 1.2.2

I am trying to include version 1.2.2 in my project, but it seems that maven is not able to find it!
I am able to find version 1.1.0, which doesn't have MediaExtractor.
do I need to add another repository than maven?

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.