WikiExtractor / WikiExtractor/wikiextractor

How to store a document in a separate txt file instead of a single txt file containing multiple documents

Open
#328 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4k
Forks
1k
Avg merge
1m
Merged PRs (30d)
10

Description

The default execution result is that a txt file contains multiple documents. Now, I want a txt file to only contain one document. What should I do?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue asks how to configure WikiExtractor so each document is written to its own .txt file, but it names no file, test, or entry point. First locate the option controlling the default multi-document output and verify its behavior with a small Wikipedia extraction. Done means documenting the command or configuration needed for one document per file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.