title: How to detect language of document containing multiple languages?
body: <p>I have documents which might contain multiple languages and might be in pdf or docx format , i want to detect language(whichever language's score is higher) of that document . I tried using TIKA library but it did not work properly if document contains more than one language.  IS there any API or library that i can use ? </p>