How to detect a language with SpaCy. Is that at all possible without any other module? #12199
-
When looking online (and using chatgpt) I get that it was possible to detect a language of a text by:
I am working with spacy 3.5.0. and this way of detecting a language of a text is not possible anymore. Is there any other way? I am redirected to use langdetect as in:
but this requieres an extra library that is a big inconvinient for me. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry, language detection is not a core feature of spaCy and never has been, and there is no |
Beta Was this translation helpful? Give feedback.
Sorry, language detection is not a core feature of spaCy and never has been, and there is no
spacy.util.detect_language
function. You need to be careful with the output of ChatGPT, as it will happily make up things that do not exist.