Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switching Characters
#1
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.
Reply
#2
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.
Reply
#3
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Newbie question about switching between files - Python/Pycharm Busby222 3 543 Oct-15-2023, 03:16 PM
Last Post: deanhystad
  Help Switching between keyboard/Mic input in my code Extra 1 1,046 Aug-28-2022, 10:16 PM
Last Post: deanhystad
  switching from pycharm to sublime issue Drifter 2 1,938 Jun-09-2020, 09:19 PM
Last Post: Drifter
  Remove escape characters / Unicode characters from string DreamingInsanity 5 13,429 May-15-2020, 01:37 PM
Last Post: snippsat
  Simple inter-process communication: Switching from Perl to Python Pappy 1 2,861 May-10-2019, 12:29 AM
Last Post: Pappy
  How can I prevent context switching when calling an async function? AlekseyPython 1 2,806 Feb-20-2019, 10:37 AM
Last Post: AlekseyPython

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020