netbreeze-gmbh / boilerpipe Goto Github PK
View Code? Open in Web Editor NEWboilerpipe 1.2.2 - a fork from 1.2.0 with additional features
License: Other
boilerpipe 1.2.2 - a fork from 1.2.0 with additional features
License: Other
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] today”Sebastian 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
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?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.