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).
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 theDetect
class that always returns the scrored language array (you cannot predict if thedetect
method returns a string or an array).