mirror of
https://github.com/friendica/friendica
synced 2025-04-27 17:10:10 +00:00
Revert "Update languagedetect library"
This commit is contained in:
parent
c22920edba
commit
071946fa78
101 changed files with 3632 additions and 311 deletions
10
library/langdet/docs/simple.php
Normal file
10
library/langdet/docs/simple.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
require_once 'Text/LanguageDetect.php';
|
||||
|
||||
$text = 'Was wäre, wenn ich Ihnen das jetzt sagen würde?';
|
||||
|
||||
$ld = new Text_LanguageDetect();
|
||||
$result = $ld->detectSimple($text);
|
||||
var_dump($result);
|
||||
//output: german
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue