AMLT The Chat Bot

This weeks assignment was creating a chatbot, which is the thing that I was planned to do for the entire term.

Since I already have this weird C# + JavaScript abomination, I decided to add RiveScript support… And also a nice little logo.

RiveScript is an interesting addition. I originally planned to use JavaScript for everything, then I realized that not all users like to write pure JavaScript code for simple interactions. RiveScript is perfect for this: it’s easy to read and easy to write. However, a different issue emerges. RiveScript was designed for English, and their maintainer stopped maintaining it due to the rise of machine learning based chatbots (everyone can apply for a ChatGPT license and use it to their hearts content). AMLT’s target audience speaks Chinese. And RiveScript is not designed for a non spaced language. To mitigate this issue, I decided to use a dedicated word splitter library to split my words and use it to “simulate” English. It worked pretty nicely, and now I can use RiveScript with Chinese.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *