mirror of
https://github.com/friendica/friendica
synced 2024-11-14 08:22:53 +00:00
7d876aab98
- Updated mobiledetectlib to 2.8.26 - Updated PEAR to 1.10.5 - Updated Archive_Tar to 1.4.3 - Updated XML_Util to 1.4.3
10 lines
217 B
PHP
10 lines
217 B
PHP
<?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
|
|
?>
|