let's say that I have many files with words inside, and I should build an algorithm that takes these files and replaces the words inside them with others based on some word conversion rules ex: key-> value.
Example: i have some files with an italian text
Ciao, come stai?
Tutto bene, e tu?
Io tutto bene.
Cosa fai oggi?
Guarderò la tv e tu ?
Io starò a casa
And i need to translate it in english for example, and save it in a new file. Output should be a new file with the text:
Hi how are you?
I'm fine and you?
I'm fine.
What are you doing today?
I will watch tv and you?
I will stay at home
Read more here: https://stackoverflow.com/questions/67012008/guidelines-on-algorithm-that-replace-words-based-on-conversion-rules
Content Attribution
This content was originally published by Eros-Capo at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.