From 317432dc0304125df8c0d2d1314a4aa9cfdab523 Mon Sep 17 00:00:00 2001 From: Vitalij Date: Tue, 6 Oct 2015 19:06:52 +0300 Subject: [PATCH] Update AutoDetectWordsRussian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Advanced avto detection list of words for Russian. I would also like to have been added for Ukrainian, which is not represented here. Add the necessary data, similar to the Russian Ukrainian heading ... Such as a count and case, but it did no good, they were identified as Russian. Add please: "public static readonly string[] AutoDetectWordsUkrainian = { "Ні", "ні", "Привіт", "привіт", "Це", "це", "Що", "що", "Його", "його", "Він", "він", "Як", "як", "Гаразд", "гаразд", "Якщо", "якщо", "Мені", "мені", "Твій", "твій", "Їх", "їх", "Вітаю", "вітаю", "Дякую", "дякую", "вже", "було", "був", "цього", "нічого", "немає", "може", "знову", "бо", "щось", "щоб", "цим", "тобі", "хотів", "твоїх", "мої", "мій", "має", "їм", "йому", "дуже" };" --- libse/Utilities.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libse/Utilities.cs b/libse/Utilities.cs index e87b812c5..cb27581e2 100644 --- a/libse/Utilities.cs +++ b/libse/Utilities.cs @@ -1074,7 +1074,7 @@ namespace Nikse.SubtitleEdit.Core public static readonly string[] AutoDetectWordsItalian = { "Cosa", "sono", "Grazie", "Buongiorno", "bene", "questo", "ragazzi", "propriamente", "numero", "hanno", "giorno", "faccio", "davvero", "negativo", "essere", "vuole", "sensitivo", "venire" }; public static readonly string[] AutoDetectWordsPortuguese = { "não", "Não", "Estás", "Então", "isso", "com" }; public static readonly string[] AutoDetectWordsGreek = { "μου", "είναι", "Είναι", "αυτό", "Τόμπυ", "καλά", "Ενταξει", "Ενταξει", "πρεπει", "Λοιπον", "τιποτα", "ξερεις" }; - public static readonly string[] AutoDetectWordsRussian = { "все", "это", "как", "Воробей", "сюда", "Давай" }; + public static readonly string[] AutoDetectWordsRussian = { "Это", "не", "ты", "что", "это", "Мы", "Да", "Нет", "Ты", "нет", "Он", "его", "тебя", "как", "Не", "вы", "меня", "Но", "то", "всё", "бы", "мы", "мне", "вас", "знаю", "ещё", "за", "нас", "чтобы", "был" }; public static readonly string[] AutoDetectWordsBulgarian = { "Какво", "тук", "може", "Как", "Ваше", "какво" }; public static readonly string[] AutoDetectWordsRomanian = { "Какво", "тук", "може", "Как", "Ваше", "какво" }; public static readonly string[] AutoDetectWordsArabic = { "Какво", "тук", "може", "Как", "Ваше", "какво" }; @@ -3031,4 +3031,4 @@ namespace Nikse.SubtitleEdit.Core } } -} \ No newline at end of file +}