mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #1046] [MERGED] Recognize an additional script in text-table language guessing (TEXT-SCRIPT-COVERAGE) #1083
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1083
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1046
Author: @lumencer
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:feat/text-script-detection📝 Commits (1)
1d2e084Recognize an additional script in text-table language guessing📊 Changes
4 files changed (+10 additions, -4 deletions)
View changed files
📝
README.md(+4 -0)📝
docs/text.md(+1 -1)📝
tests/test_text_tables.py(+1 -0)📝
tools/text_tables.py(+4 -3)📄 Description
Claim:
TEXT-SCRIPT-COVERAGE(https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7138917308).tools/text_tables.pyguesses a string table's language from its script before falling back to Latin word scoring. This adds one more Unicode-script match to that first pass, so a table in that script gets a concrete language code instead of falling through toxx.The covered script list is now stated in
docs/text.md's Language section and in the README's "How it works" summary.tests/test_text_tables.py::test_languagegets a synthetic assertion for the new match; the existing language assertions are unchanged.Checks run locally:
python3 -I tests/test_text_tables.py(33 passed, 1 skipped),python3 -I tests/test_docs_links.py(16 passed),python3 -I tests/test_docs_repeated_lines.py(2 passed).No game files, no GPU, no generated assets, no build or CI changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.