Add joker type. Allow automatic conversion to are you
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
using DefaultNamespace;
|
||||
using JetBrains.Annotations;
|
||||
using Newtonsoft.Json.Linq;
|
||||
@@ -229,6 +230,13 @@ public class DialogManager : Singleton<DialogManager>
|
||||
|
||||
|
||||
r = r.Replace("NOREC_", "");
|
||||
|
||||
r = Regex.Replace(
|
||||
r,
|
||||
@"^is\s+(?:\S+\s+)*guard\s+\(you\)",
|
||||
"are you",
|
||||
RegexOptions.IgnoreCase
|
||||
);
|
||||
|
||||
string responsePrefix = "";
|
||||
if (FullQuestion.Contains("%"))
|
||||
|
||||
Reference in New Issue
Block a user