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

a one-page-per-line option #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

aaaton
Copy link

@aaaton aaaton commented Feb 24, 2017

I don't know if you want this, but I found it useful for processing the pages with Apache Beam/Google Dataflow. I allows the user to presume that each row in the output file is a self-contained page, starting with a signature of attributes like:{{page:id}}

Changes:

  • Added the one-lined option to App.java
  • Added a "signature" to WikipediaPage.java
  • Added the OneLineWikipediaPageWriter.java that writes each article to a single row

Anton Södergren added 2 commits February 24, 2017 11:58
 * Added a "signature" to WikipediaPage.java
 * Added the OneLineWikipediaPageWriter.java that writes each article to a single row
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

Successfully merging this pull request may close these issues.

None yet

1 participant