Mimino666 / langdetect

Port of Google's language-detection library to Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

calling same text again and again gives random language

milanpatel opened this issue · comments

I passes same text several times to detect api and it gives me en and sv randomly.
langdetectbug

detect('jason and his dad get new parts for jasons bike')
'en'
detect('jason and his dad get new parts for jasons bike')
'en'
detect('jason and his dad get new parts for jasons bike')
'sv'