Bug #21196 [Com]: Wrong dectecting of Russian text on languagedetect.org.

From: Date: Sat, 18 Mar 2017 19:33:25 +0000
Subject: Bug #21196 [Com]: Wrong dectecting of Russian text on languagedetect.org.
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11377@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=21196&edit=1 ID: 21196 Comment by: demjanich at ya dot ru Reported By: demjanich at ya dot ru Summary: Wrong dectecting of Russian text on languagedetect.org. Status: Open Type: Bug Package: Text_LanguageDetect Package Version: Unknown PHP Version: 5.6.30 Roadmap Versions: New Comment: Russian text: " У меня степень по астрофизике. Здорово, тебе будет гораздо проще смотреть на звезды без крыши над головой. Доброе утро. Ты знала, что Радж съехал прошлой ночью? Что? Почему? Леонадр и Пенни, простите за все проблемы, что я создал. Я переезжаю к Говарду. " Previous Comments: ------------------------------------------------------------------------ [2017-03-18 15:28:39] demjanich Description: ------------ Wrong dectecting of Russian text on languagedetect.org. Test script: --------------- Russian text: " ? ???? ??????? ?? ???????????. ???????, ???? ????? ??????? ????? ???????? ?? ?????? ??? ????? ??? ???????. ?????? ????. ?? ?????, ??? ???? ?????? ??????? ?????? ???? ??????? ??????? ? ?????, ???????? ?? ??? ????????, ??? ? ??????. ? ????????? ? ???????. " But program wrote: Text_LanguageDetect thinks this text is written in Croatian (0.219230769231, 0.0284615384615) Expected result: ---------------- The text is in Russian, not Croatian Actual result: -------------- -- ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=21196&edit=1

« previous php.pear.bugs (#11377) next »