fixing bug

This commit is contained in:
Vladislav Khorev 2014-12-09 12:48:16 +00:00
parent eb5847d171
commit 8199efecb4

View File

@ -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) for (wchar_t ic : consolants)
{ {
@ -100,7 +100,7 @@ bool charIsConsolant(wchar_t c) //except י
bool charIsVowel(wchar_t c) bool charIsVowel(wchar_t c)
{ {
std::wstring vovels = L"אמף‎¸‏טו"; std::wstring vovels = L"аоуыэяёюие";
for (wchar_t ic : vovels) for (wchar_t ic : vovels)
{ {
@ -114,8 +114,8 @@ bool charIsVowel(wchar_t c)
} }
std::wstring i_form_consolants = L"דץךזרקש"; std::wstring i_form_consolants = L"гхкжшчщ";
std::wstring u_form_consolants = L"בןהעגפחסםלכנצ"; std::wstring u_form_consolants = L"бпдтвфзснмлрц";
bool charIsIFormConsolant(wchar_t c) bool charIsIFormConsolant(wchar_t c)
{ {