Is the '/' character supposed to have two different mappings? As that makes things much more complicated...
Actually it makes impossible to solve for some cases. For instance we can never know if the number 2536 is truly the number 2536 or if it is the word kilo except by the context of some phrase (human comprehension). All solutions use some nongeneral trick to identify such cases.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!