Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maintain offsets #7

Open
johnrfrank opened this issue Aug 17, 2015 · 0 comments
Open

maintain offsets #7

johnrfrank opened this issue Aug 17, 2015 · 0 comments

Comments

@johnrfrank
Copy link

Hi Kristian, Is it possible for boilerpipe to generate offsets as its output, so that they can be used to reference the original HTML? I looked in ArticleExtractor for something about character or xpath offsets.

Ideally, we'd have something like a list of (xpath + char offset) for each transition, like (junk, title, junk, byline, junk, body, junk, body, junk, body, junk, footnotes).

Thanks for any thoughts on this.

John

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant