BESSER-Bot-Framework icon indicating copy to clipboard operation
BESSER-Bot-Framework copied to clipboard

Improve classification in case of spelling mistakes

Open Aran30 opened this issue 1 year ago • 1 comments

When using following training examples:

confirmation_intent = bot.new_intent('confirmation_intent', [
    'yes',
    'yeah',
    'of course',
    'i am happy to say yes'
])

rejection_intent = bot.new_intent('rejection_intent', [
    'no',
    'nah',
    'never',
    'no i am not happy'
])

created bots would fail to classify "simple" spelling mistakes of abbreviations such as ["yea","noo","n"]. Improving the classification for such examples would definitely improve the interaction overall.

Aran30 avatar Sep 11 '23 13:09 Aran30

Let's keep in mind that the solution needs also to be language-dependent (and must not throw an exception when using the framework with a language for which no spell-checker solution is available)

jcabot avatar Sep 16 '23 16:09 jcabot