I need to detect the language of a huge amount of files, and I was wondering if there is some tool which I could use in a way similar to this, in linux command shell:
langdetector filetodetect > detectedlangfile
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It only takes a minute to sign up.
Sign up to join this communityI need to detect the language of a huge amount of files, and I was wondering if there is some tool which I could use in a way similar to this, in linux command shell:
langdetector filetodetect > detectedlangfile
Apache Tika can do that for 18 languages: Danish, German, Estonian, Greek, English, Spanish, Finnish, French, Hungarian, Icelandic, Italian, Dutch, Norwegian, Polish, Portuguese, Russian, Swedish and Thai
the command on linux would be: java -jar tika-app-1.18.jar -l filetodetect > detectedlangfile 2>/dev/null