Open mlc opened 6 years ago
oof, thanks for the data point, I'll look into it when I get a sec.
Found another one: Τα Γεωργικά is fine on the Gutenberg website, but double-utf8-encoded in gutenberg-dammit
(if you recode it from utf-8 to "latin-1" you end up with valid-looking utf8 Greek text).
hi—just to verify, are you using the latest version (002)? I do know for sure that the original version had messed up encodings, which is why I did a second release.
Yup, I downloaded a fresh copy of the archive just now, and manually inspected the relevant files, in order to triple-check that these two problems still exist.
The bot I wrote using your corpus has posted 267 times as of now, so with two misencoded files found, that's a rate of about 0.7% — certainly not bad at all.
Thanks again!
great, thank you for checking! I'll fix in the next release.
Hi, thanks for this excellent work!
I suspect it's not an isolated incident, but don't presently have anything beyond a single anecdote:
073/07317.txt
in thegutenberg-dammit
corpus is valid UTF-8 gibberish.gutenberg-dammit
file, and convert it from utf-8 to "latin-1", you end up with a file whichchardet
says is Big5-encoded text. This appears to be mostly correct, except that there is some garbage in it and so it can not be recoded successfully by any of the few different tools I tried.Anyway that's the data I have for now…