landrok / language-detector

A fast and reliable PHP library for detecting languages
MIT License
117 stars 18 forks source link

Chinese scores lower than other languages #12

Open dnefi opened 7 months ago

dnefi commented 7 months ago

Hi,

When I test the text below (mostly in Chinese), I get the result "pt".

🔥Fair Mode开启币安代币经济新模式!🔥减少抛压,赋能用户,让更多的利益回到用户手中!🚀新模式到底怎么进行代币分配?跟过去的分配模式有什么区别?# 一分钟为您讲清楚!🎬评论区告诉我,你看好全新分配方式吗?一起开挖赚更多!🫡# #币安 # #代币经济学 #挖矿 #

However, when I remove the "Fair Mode" statement at the beginning of the text, I get the result "zh-cn". I can't understand how such a small statement affects the result.

🔥开启币安代币经济新模式!🔥减少抛压,赋能用户,让更多的利益回到用户手中!🚀新模式到底怎么进行代币分配?跟过去的分配模式有什么区别?# 一分钟为您讲清楚!🎬评论区告诉我,你看好全新分配方式吗?一起开挖赚更多!🫡# #币安 # #代币经济学 #挖矿 #