with-watson / multilingual-chatbot

Think 2018 Lab Session: Watson Assistant + Watson Language Translator to create a multilingual chatbot
16 stars 31 forks source link

How to improve the chatbot behaviour in other languages than English? #5

Open martab0 opened 6 years ago

martab0 commented 6 years ago

Hello! I like the demo, light and elegant. Does a good job in English if we are to present the chatbot idea. However, things got a bit hairy when I started using other languages (with an idea to present the demo chatbot at Think 2018 event in Warsaw, Poland). When I started writing in Polish, the language was recognized correctly, however, the response was like (if we translated it back into English) "it is a perfect day for a disk". Later, the chatbot proposed me to drive a toilet (again, if I back-translate what it said in Polish). I know the great capabilities of Watson Language Translator quite well because I use it in my daily work (I'm part of the Translation Organization), and I know where the issues, like described above, could come from. How can I contribute to make the demo perform better in my language, and potentially, also in other languages?

devinaconley commented 5 years ago

Hey @martab0 - thanks for the feedback!

You could use one of the techniques described here to do some customization of the language model: https://console.bluemix.net/docs/services/language-translator/customizing.html#customizing

If you see some improvements, I would be happy to accept a pull request with the associated training files