LanguageDetectionService
in package
Table of Contents
Properties
- $language : mixed
Methods
- __construct() : mixed
- detectLanguage() : string
- splitIntoSentences() : array<string|int, mixed>
Properties
$language
private
mixed
$language
Methods
__construct()
public
__construct() : mixed
detectLanguage()
public
detectLanguage(string $text) : string
Parameters
- $text : string
Return values
stringsplitIntoSentences()
public
splitIntoSentences(string $text) : array<string|int, mixed>
Parameters
- $text : string