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

Add test for out-of-script characters in sample texts #105

Merged
merged 11 commits into from
May 1, 2024

Conversation

simoncozens
Copy link
Contributor

One common cause of tofu is when we have a sample text which purports to be in one script ("Syloti Nagri", let's say) but which actually contains some characters from another script ("Bengali"). As well as tofu it's also a warning that something has gone wrong with the sample text ("𐐹𐐲𐑊𐐮𐐻𐐮𐐿𐐲𐑊, jurisdictional 𐐲𐑉 𐐮𐑌𐐻𐐲𐑉𐑌𐐰𐑇𐐲𐑌𐐲𐑊")

This test will currently fail because we have some bad sample texts...

@dscorbett
Copy link

ykg_Cyrl.textproto should use U+051D CYRILLIC SMALL LETTER WE instead of U+0077 LATIN SMALL LETTER W.

ady_Cyrl.textproto should use U+04C0 CYRILLIC LETTER PALOCHKA and/or U+04CF CYRILLIC SMALL LETTER PALOCHKA instead of U+0049 LATIN CAPITAL LETTER I and U+0069 LATIN SMALL LETTER I.

@simoncozens simoncozens merged commit 61b3e5f into main May 1, 2024
6 checks passed
@simoncozens simoncozens deleted the test-out-of-script branch May 1, 2024 09:38
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.

3 participants