I am making a latin to runic translator and i want to know how to switch characters in a user inputted string into its corresponding characters in another writing system. e.g all 'm' becomes 'n' and all 'oi' becomes 'l' like man to nan and soil to sll.
(Apr-17-2018, 08:20 PM)Larz60+ Wrote: [ -> ]Another way to go about this type of application may be through Natural Language Processing.
There is a well known and highly praised package available for this NLTK see: https://www.nltk.org/
And see article: https://impythonist.wordpress.com/2014/0...th-python/
Above article hasn't been worked on since 2014, so not a good choice.
This video: https://www.youtube.com/watch?v=FLZvOKSCkxY is the start of a complete tutorial 20+ videos looks more promising.
im only looking for character switching. As in .replace() but for the entire alphabet both lower and upper case.