langdetect
langdetect copied to clipboard
Timeout to abort if too long
in networking time constraint exists, thus only x time for detect. Not only does this take timeit.timeit(lambda: detect("War doesn't s left."), number=1000)
34s it goes also to 'nl' instead eng.
anyway: how to upper bound?