I am trying to detect the language of a sentence in python. I tried 'langdetect' and 'nltk word corpus' but nothing is giving the expected results: My example df is:
df = pd.DataFrame({'text': ['Auxiliar Director/a de Hotel', 'Jefe de Tienda', 'Data Analyst']})
and expected result is:
text detected_language
0 Auxiliar Director/a de Hotel spanish
1 Jefe de Tienda spanish
2 Data Analyst english
TIA!