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