Re:Amazon Textract – Extract text and data from virtually an...
by rpedela on Wednesday November 28, 2018 @03:34PM
(#18555378)
Good idea. I would take it one step further. I would use a ML-based language detection tool which should return a list of languages and a confidence score. Whichever language has the highest confidence score wins. The FastText project has a good pre-trained model available.
Edit: Hell, even average word length is probably going to be a good indicator since German is so agglutinative. Collect some factors like this and I think you'll be able to build a pretty good classifier.