LanguageDetector
LanguageDetector copied to clipboard
Add CLI commands
Added a cli command for creating the language.php script (especially useful) and one for detecting the language of some text.
Additionally added a method detectLanguageScores to the Detect class that always returns the scrored language array (you cannot predict if the detect method returns a string or an array).
PS: Increasing the version number might make sense, too... ;)