So I added the patterns to the introductions topic. I made sure to add the words to the topic keywords list as well.
I changed the console app to display the lucida font. I removed the flags from cs_token in the file “simplecontrol.top” for do_substitute_system and do_spellcheck and do_parse. I issued :build 0 and :build harry commands.
I typed :Prepare and then co robić. Here is the result.
alaric: > co robić
TokenControl: DO_SUBSTITUTE_SYSTEM DO_NUMBER_MERGE DO_PROPERNAME_MERGE DO_DATE_MERGE DO_SPELLCHECK DO_INTERJECTION_SPLITTING DO_PARSE
Original User Input: co robic
Tokenized into: co robic
Spelling changed into: co robin
Actual used input: co robin(robic)
The console app removes the special characters even though they are displayed. Then Chatscript still performs a spellcheck or a substitution and matches against the word “robin”. This was after I removed “Robbi” from the dictionary and rebuilt it.
So you will have trouble matching special characters until these issues are resolved.
When I add the pattern for “co robin” it matches and I get “Response 2.” returned.
u: ( co robić ) Response 1.
u: ( co robin ) Response 2.
I would like to know the exact steps to turn off spellcheck.
I issued :build german and it showed the tokens in the simplecontrol.top correctly in the :prepare command results. I created chatbot “Bob” as a copy of Harry. I issued :Build Bob and still saw the incorrect list of tokens assigned to $cs_token in the :prepare results. I copied the simplecontrol.top to from German to Bob and issued :Build Bob and the incorrect list of cs_tokens still showed for Bob.
I restarted Chatscript and issued :build bob and the incorrect list of tokens form the $cs_token assignment in simplecontrol.top was still displayed in the :prepare results. It is as if it is ignoring the $cs_token
$cs_token = #NO_HYPHEN_END | #DO_INTERJECTION_SPLITTING | #DO_SUBSTITUTE_SYSTEM | #DO_NUMBER_MERGE | #DO_DATE_MERGE
It is not a matter of the :prepare results being incorrect and the flags being correct as the spellcheck is performed and the match is still made for “robic” to “robin”.
Regarding the console issue, it is probably best to setup and run the web interface.