[Feature request] Streaming or file object support in python bindings
za3k opened this issue · comments
Zachary Vance commented
The original langdetect in C++ has a very nice "early abort" efficiency optimization. Could "detect" accept some form of lazy-loading (I'd suggest being able to pass a python file object), so it can read only as much of a file as it needs to detect the language the file is in?