I’m trying to detect when the user types randomly on the keyboard (things like “asdasd asdferw dsfa”).
My idea was to burst the input and check every single word with ^define().
My problem is that I don’t know how to get the canonical input: both %originalinput and %originalsentence don’t suit my case because the input is not canonized, so short forms wouldn’t be recognized as known words. I checked the documentation, but didn’t find any function that provides a canonized version of the input or words.
Am I missing something? Do you have some other solutions?
Thank you in advance.