— Anyone know about translation of files, I wonder if there is amodule that can parse text into a po
—
Or a list of strings, so that let say I can dump a full text document and then python will parse the sentences, headers, list items etc. and generate a file.po where the sentences go into a msgid ...
— You can check out nltk
— Yeah I saw an article on splitting sentences, thought it would be more common.
— Nltk seems like a misile to kill a mosquito
— Regular expressions ?
— Or simple sentences
— Lower content and compare to given words/sentences
— Or split. Split would be simpler.
— Yeah I was looking for a beautifulsoup/scrappy for regular TXT