Closed newcworld closed 1 year ago
No, I'm not planning to extend the API like this. I want to keep the API as simple as possible. You can achieve the same by using a list comprehension instead:
texts = ["languages are awesome", "languages"]
detected_languages = [detector.detect_language_of(text) for text in texts]
can I invoke like this