takahi-i / DialogueFirm

Tiny chat bot engine for Unity
https://github.com/takahi-i/DialogueFirm/blob/master/Assets/DialogFirm/Doc/main.adoc
GNU General Public License v3.0
2 stars 1 forks source link

Similarity Search #44

Open takahi-i opened 6 years ago

takahi-i commented 6 years ago

Ambiguous Match implemented with preprocessor and hashmap

{
'what' => [1 ,2 ,3 ,4] 
'思われる' => [1, 4, 6]
}
   {
     "target" : "zatusudan",
     "type" : "ambigous",
     "map" : {
         "hi" : "hi there",
         "suck": "you too"
     }
   }