feat: Add Polish hyphenation support (#1590)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
IjonFryderyk
2026-05-14 16:32:59 +03:00
committed by GitHub
co-authored by Claude Opus 4.6
parent aa43bd3569
commit 5fa5a71ba2
6 changed files with 6076 additions and 3 deletions
@@ -44,6 +44,7 @@ const std::vector<LanguageConfig> kSupportedLanguages = {
{"russian", "test/hyphenation_eval/resources/russian_hyphenation_tests.txt", "ru"},
{"spanish", "test/hyphenation_eval/resources/spanish_hyphenation_tests.txt", "es"},
{"italian", "test/hyphenation_eval/resources/italian_hyphenation_tests.txt", "it"},
{"polish", "test/hyphenation_eval/resources/polish_hyphenation_tests.txt", "pl"},
};
std::vector<size_t> expectedPositionsFromAnnotatedWord(const std::string& annotated) {
File diff suppressed because it is too large Load Diff