mirror of
https://github.com/friendica/friendica
synced 2025-04-24 14:30:11 +00:00
Remove references to the library/langdet folder
This commit is contained in:
parent
64243d33d0
commit
ba1975ac3a
21 changed files with 2 additions and 5857 deletions
|
@ -1,15 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* How to handle errors
|
||||
*/
|
||||
require_once 'Text/LanguageDetect.php';
|
||||
require_once 'Text/LanguageDetect/Exception.php';
|
||||
|
||||
try {
|
||||
$ld = new Text_LanguageDetect();
|
||||
$lang = $ld->detectSimple('Das ist ein kleiner Text');
|
||||
echo "Language is: $lang\n";
|
||||
} catch (Text_LanguageDetect_Exception $e) {
|
||||
echo 'An error occured! Message: ' . $e . "\n";
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue