Dropping non-English text with langdetect

后端 未结 0 800
广开言路
广开言路 2021-01-03 22:57

I am trying to use langdetect to drop all the languages which are not english in my text.

def det(x):
    try:
        language = detect(x)
    except:
               


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题