LanguageDetector icon indicating copy to clipboard operation
LanguageDetector copied to clipboard

Add CLI commands

Open andywer opened this issue 10 years ago • 1 comments

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).

andywer avatar Jun 21 '15 16:06 andywer

PS: Increasing the version number might make sense, too... ;)

andywer avatar Jun 21 '15 16:06 andywer