WikiExtractor / WikiExtractor/wikiextractor
How to store a document in a separate txt file instead of a single txt file containing multiple documents
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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