Revert "Update languagedetect library"
This commit is contained in:
committed by
GitHub
parent
c22920edba
commit
071946fa78
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
|
||||
?>
|
||||
Reference in New Issue
Block a user