WikiExtractor / WikiExtractor/wikiextractor

Removing shorter text from wiki article

Open
#135 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

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.