language-detector icon indicating copy to clipboard operation
language-detector copied to clipboard

A fast and reliable PHP library for detecting languages

Results 6 language-detector issues
Sort by recently updated
recently updated
newest added

I have the following text with the corresponding language as detected by this package (all English) Only the bold text is correct. - **Announcing the GitHub Education Classroom Report 2020...

Hey can you add more Indic language or can you share the pattern or the structure of subset so that I can able to add new languages as per my...

Tested your library which I thought looked promising. However the first text I entered gave me back a wrong detection: "How do I cancel my subscription?" : "es" "I can...

Hi, When I test the text below (mostly in Chinese), I get the result "pt". ``` 🔥Fair Mode开启币安代币经济新模式!🔥减少抛压,赋能用户,让更多的利益回到用户手中!🚀新模式到底怎么进行代币分配?跟过去的分配模式有什么区别?# 一分钟为您讲清楚!🎬评论区告诉我,你看好全新分配方式吗?一起开挖赚更多!🫡# #币安 # #代币经济学 #挖矿 # ``` However, when I remove the...

$text = "Magnums & Movies - A Fish Called Wanda"; $detector = new LanguageDetector(); // composer require landrok/language-detector $langCode = (string)$detector->evaluate($text)->getLanguage(); = af, Afrikaans Is A Fish Called Wanda in...

Is there any way to detect language code by passing remote file path (i.e. mp3/wav) file