Skip to content

Commit

Permalink
Allow щ for Ukrainian language (#193)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmytro Dashenkov <[email protected]>
  • Loading branch information
ddashenkov and Dmytro Dashenkov authored Feb 2, 2024
1 parent cf145d3 commit a87a573
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ internal object Constant {
"Ôô" to enumSetOf(FRENCH, PORTUGUESE, SLOVAK, VIETNAMESE),

"ЁёЫыЭэ" to enumSetOf(BELARUSIAN, KAZAKH, MONGOLIAN, RUSSIAN),
"ЩщЪъ" to enumSetOf(BULGARIAN, KAZAKH, MONGOLIAN, RUSSIAN),
"Щщ" to enumSetOf(BULGARIAN, KAZAKH, MONGOLIAN, RUSSIAN, UKRAINIAN),
"Ъъ" to enumSetOf(BULGARIAN, KAZAKH, MONGOLIAN, RUSSIAN),
"Òò" to enumSetOf(CATALAN, ITALIAN, VIETNAMESE, YORUBA),
"Ææ" to enumSetOf(BOKMAL, DANISH, ICELANDIC, NYNORSK),
"Åå" to enumSetOf(BOKMAL, DANISH, NYNORSK, SWEDISH),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ class LanguageDetectorTest {
),
arguments(
"плаваща",
listOf(BULGARIAN, KAZAKH, MONGOLIAN, RUSSIAN)
listOf(BULGARIAN, KAZAKH, MONGOLIAN, RUSSIAN, UKRAINIAN)
),
arguments(
"довършат",
Expand Down

0 comments on commit a87a573

Please sign in to comment.