WikiExtractor / WikiExtractor/wikiextractor
Removing shorter text from wiki article
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4k
- Forks
- 1k
- Avg merge
- 1m
- Merged PRs (30d)
- 10
Description
Hi,
I have used this code to extract articles from Wikipedia dump. But I have noticed that for some article It removes some texts. For example an article named 'Onchiam', it remove the first line 'Onchiam , also spelt as Onchyamis a village in Kozhikode district in the state of Kerala, India.' I want to keep this line too. Can you please tell me if this is intended behavior? And where should I change in your code to keep all texts.
Regards
Tapas
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
Start by reproducing the extraction of the Wikipedia article “Onchiam” from a dump and inspect the extraction path that removes its opening line. The issue names no source file or test; done means preserving the full introductory text while retaining the expected plain-text extraction behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100