0

I need an installable/portable/cli software or a tool for Windows that can detect the language of multiple text files, not just strings. Free or paid does not matter.

Sort of like what Google Translate is doing when you paste some text strings, it will auto-detect the language.

I am talking about human languages, not programming.

2
  • 1
    Please provide more information about your requirements - is a cloud-based solution acceptable, or must it be installable on the computer? What is your budget? What sort of "text files" (plain text or from a word processor)? Commented Mar 4, 2022 at 12:03
  • Text files as in txt
    – Arete
    Commented Mar 4, 2022 at 15:57

3 Answers 3

1

Using Mathematica you can identify text in several languages. Translation of sentences is also possible using TextTranslation.

You can try this by making a free cloud account at the Wolfram cloud. Files can be read in and analyzed.

enter image description here

2
  • Thanks. Is it able to process multiple files in bulk? Please specify how to do this with the software.
    – Arete
    Commented Mar 12, 2022 at 13:18
  • You can drop a line to their support. As this is a general purpose platform for STEM fields, a bit of programming will be involved. But the answer is that it can.
    – Syed
    Commented Mar 12, 2022 at 14:02
1

You could try the Python module langdetect. It supports 55 languages out of the box. As an example (from the project's README file):

>>> from langdetect import detect
>>> detect("War doesn't show who's right, just who's left.")
'en'
>>> detect("Ein, zwei, drei, vier")
'de'
0

Fasttext by Facebook supports 176 languages: https://fasttext.cc/docs/en/language-identification.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.