Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 490 Bytes
1. Write tests
2. Write YARD documentation
3. Type error recognition ('черз' instead 'через') and fixing.
(?!: vocabulary + Levenshtein distance).
(and look at the http://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance)
4. Use lexical string scanning (StringScanner from 'strscan' library)
More information: http://corelib.rubyonrails.org/classes/StringScanner.html
+ Ruby Best Practices > Appendix B > Lexical Parsing with Regular Exprssions (strscan)