diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2017-11-28 22:12:43 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2017-11-28 22:12:43 +0300 |
commit | 80221d816eeb98f0df38e0243390033c614952f3 (patch) | |
tree | 7618176108093921b6934343bc2f76a66ea97730 /plugins/Boltun/src/Engine/TalkEngine.cpp | |
parent | 25df99ba7462958f2cb9075020ec1c9a5a7c9f50 (diff) |
Source files converted to utf-8
Diffstat (limited to 'plugins/Boltun/src/Engine/TalkEngine.cpp')
-rw-r--r-- | plugins/Boltun/src/Engine/TalkEngine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Boltun/src/Engine/TalkEngine.cpp b/plugins/Boltun/src/Engine/TalkEngine.cpp index 7d1ca265ed..8ab48cd075 100644 --- a/plugins/Boltun/src/Engine/TalkEngine.cpp +++ b/plugins/Boltun/src/Engine/TalkEngine.cpp @@ -1,5 +1,5 @@ //***********************************************************
-// Copyright © 2008 Valentin Pavlyuchenko
+// Copyright © 2008 Valentin Pavlyuchenko
//
// This file is part of Boltun.
//
@@ -94,7 +94,7 @@ wstring TalkBot::GetInitMessage(MCONTACT contact) wstring TalkBot::ReplaceAliases(const wstring &message)
{
- const wchar_t dividers[] = L" \t\n\r,./?\\|;:'\"~!#^&*()_-+=[{]}—\1";
+ const wchar_t dividers[] = L" \t\n\r,./?\\|;:'\"~!#^&*()_-+=[{]}—\1";
wstring sentence = message;
wstring result;
map<size_t, wstring> sm;
@@ -490,7 +490,7 @@ const Mind& TalkBot::GetMind() const void TalkBot::SplitAndSortWords(wstring sentence, vector<wstring>& keywords,
vector<wstring>& otherwords, bool& isQuestion)
{
- const wchar_t dividers[] = L" \t\n\r,./?\\|;:'\"~!#^&*()_-+=[{]}—";
+ const wchar_t dividers[] = L" \t\n\r,./?\\|;:'\"~!#^&*()_-+=[{]}—";
int len = (int)sentence.length();
vector<wstring> words;
map<size_t, wstring> sm;
|