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

Tables are not entirely filtered out #298

Open
adno opened this issue Dec 11, 2022 · 0 comments
Open

Tables are not entirely filtered out #298

adno opened this issue Dec 11, 2022 · 0 comments

Comments

@adno
Copy link

adno commented Dec 11, 2022

Many tables (or parts of them) are still in the output.

Steps to reproduce:

  1. Download this dump: https://dumps.wikimedia.org/jawiki/20221020/jawiki-20221020-pages-articles1.xml-p1p114794.bz2
  2. Invoke the following command to list lines that contain the string "colspan":
    bzcat jawiki-20221020-pages-articles1.xml-p1p114794.bz2 | wikiextractor/WikiExtractor.py --no-templates -o - - | grep colspan

Output:

249||24||colspan="2"|-||9||0||258||24
21||1||1||0||colspan="2"|-||22||1
12||0||colspan="2"|-||colspan="2"|-||12||0
4||2||colspan="2"|-||colspan="2"|-||4||2
!rowspan="2"|通算!!colspan="2"|OFC
!colspan="4"|FIFA
!colspan="2" style="background-color:#efefef"|内容
!colspan="3"|小計
!colspan="3"|小計
!colspan="3"|小計
!colspan="3"|小計
!colspan="3"|小計
!colspan="3"|小計
!colspan="3"|小計
!colspan="3"|小計
 59 || 26 ||colspan="2"|-||colspan="2"|-|| 59 || 26
!colspan="4"|日本!!colspan="2"|リーグ戦!!colspan="2"|!!colspan="2"|天皇杯!!colspan="2"|期間通算

[shortened]

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

No branches or pull requests

1 participant