From 8199efecb4042ac18cda185af62c486e6731e2e7 Mon Sep 17 00:00:00 2001 From: Vladislav Khorev Date: Tue, 9 Dec 2014 12:48:16 +0000 Subject: [PATCH] fixing bug --- rudict/rudict/grammarCase.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rudict/rudict/grammarCase.cpp b/rudict/rudict/grammarCase.cpp index e5208fb..fcb8ecd 100644 --- a/rudict/rudict/grammarCase.cpp +++ b/rudict/rudict/grammarCase.cpp @@ -83,9 +83,9 @@ NounGrammaticalCase WStringToNounGrammaticalCase(std::wstring str) -bool charIsConsolant(wchar_t c) //except י +bool charIsConsolant(wchar_t c) //except й { - std::wstring consolants = L"צךםדרשחץפגןנכהזקסלעב"; + std::wstring consolants = L"цкнгшщзхфвпрлджчсмтб"; for (wchar_t ic : consolants) { @@ -100,7 +100,7 @@ bool charIsConsolant(wchar_t c) //except י bool charIsVowel(wchar_t c) { - std::wstring vovels = L"אמף‎¸‏טו"; + std::wstring vovels = L"аоуыэяёюие"; for (wchar_t ic : vovels) { @@ -114,8 +114,8 @@ bool charIsVowel(wchar_t c) } -std::wstring i_form_consolants = L"דץךזרקש"; -std::wstring u_form_consolants = L"בןהעגפחסםלכנצ"; +std::wstring i_form_consolants = L"гхкжшчщ"; +std::wstring u_form_consolants = L"бпдтвфзснмлрц"; bool charIsIFormConsolant(wchar_t c) {