Mimino666 / langdetect

Port of Google's language-detection library to Python.
Other
1.71k stars 196 forks source link

langdetect doesn't seem to play nicely with multiprocessing by default #30

Closed robbymeals closed 7 years ago

robbymeals commented 7 years ago

Just wanted to bring your attention to this stackoverflow discussion: http://stackoverflow.com/questions/43268201/typeerror-init-missing-1-required-positional-argument-message-using-multip/43269116#43269116

I am not sure of exactly how this is happening and if I have more time, I will try and reproduce on a publicly available dataset and put the code here for further diagnosis. But it might be worth add the fix I described there to the readme?

robbymeals commented 7 years ago

Just tested fix, working nicely! Thanks!