copy/paste each sentence program/bot/script
Hello MPGH if anyone knows a program that can do something like this:
Copy first sentance of a text in a document word, paste it on google translate, then copy the translated phrase and paste it next to the phrase in the document. Then proced to the second sentence and so on.
I would be really grateful as it would make my work much more easier. I tried searching on google for something like this but seems like I can't find a proper one.
If someone didn't understand what I mean, I will post a youtube link to an example:
https://www.youtube.com/watch?v=cKje...ature=youtu.beSo from what you're saying you want to know how to fucking use google translate?
There's no need for a bot.
You can eventually use a Python Script to split your whole text into sentences but if you have the sentences split you can copy all of them with a space between em and paste them in google translate.
Something like this for the script may help:
import re
text = ' '.join(open('text.txt').readlines())
sentences = re.split(r' *[\.\?!][\'"\)\]]* *', text)
For simple cases