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

Remove pos length check in test_long #444

Merged
merged 1 commit into from
Jan 2, 2024
Merged

Remove pos length check in test_long #444

merged 1 commit into from
Jan 2, 2024

Conversation

xxyzz
Copy link
Collaborator

@xxyzz xxyzz commented Jan 2, 2024

Some pages use the template zh-see to redirect simplified Chinese characters don't have POS title. Not sure why the pr 174 of wikitextprocessor affects this test.

Another change is adding the redirect data to pos_data if it's not empty.

Some pages use the template `zh-see` to redirect simplified Chinese
characters don't have POS title. Not sure why the pr 174 of
wikitextprocessor affects this test.

Another change is adding the redirect data to `pos_data` if it's not
empty.
@xxyzz
Copy link
Collaborator Author

xxyzz commented Jan 2, 2024

I also see some "can't find template" errors in page https://en.wiktionary.org/wiki/数, this was ignored before tatuylonen/wikitextprocessor#174, maybe the error should be removed?

@kristian-clausal
Copy link
Collaborator

Let's merge this if it fixes the issue with the test first, then wonder about errors later.

@xxyzz xxyzz merged commit 8599343 into tatuylonen:master Jan 2, 2024
5 checks passed
@xxyzz xxyzz deleted the fr branch January 2, 2024 12:11
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

Successfully merging this pull request may close these issues.

2 participants