function GetAutoReplies($_question, $_chat)
 {
     global $DEFAULT_BROWSER_LANGUAGE, $GROUPS;
     $_question = str_replace(array("!", ",", ".", "?", "=", ")", "(", "-", "_", ":", "#", "~", "�"), "", strtolower($_question));
     $this->LoadAutoReplies();
     $GROUPS[$_chat->DesiredChatGroup]->LoadAutoReplies();
     $merged = array_merge($this->AutoReplies, $GROUPS[$_chat->DesiredChatGroup]->AutoReplies);
     $answers = ChatAutoReply::GetMatches($merged, $_question, $DEFAULT_BROWSER_LANGUAGE);
     if ($this->IsBot) {
         return $this->FormatBotAutoReplies($_chat, $answers);
     }
     return $this->FormatHumanAutoReplies($answers);
 }
 function GetAutoReplies($_question, $_chat)
 {
     $_question = str_replace(array("!", ",", ".", "?", "=", ")", "(", "-", "_", ":", "#", "~", "�"), "", strtolower($_question));
     $merged = array_merge($this->AutoReplies, Server::$Groups[$_chat->DesiredChatGroup]->AutoReplies);
     if ($this->IsBot) {
         $kbresults = KnowledgeBase::GetMatches($_question, Visitor::$BrowserLanguage, true);
         $merged = array_merge($merged, $kbresults);
     }
     $answers = ChatAutoReply::GetMatches($merged, $_question, Visitor::$BrowserLanguage, $_chat, $this);
     if ($this->IsBot) {
         return $this->FormatBotAutoReplies($_chat, $answers);
     } else {
         return $this->FormatHumanAutoReplies($answers, $_chat);
     }
 }