PHP Class Phpml\FeatureExtraction\StopWords

Afficher le fichier Open project: php-ai/php-ml Class Usage Examples

Protected Properties

Свойство Type Description
$stopWords array

Méthodes publiques

Méthode Description
__construct ( array $stopWords )
factory ( string $language = 'English' ) : StopWords
isStopWord ( string $token ) : boolean

Method Details

__construct() public méthode

public __construct ( array $stopWords )
$stopWords array

factory() public static méthode

public static factory ( string $language = 'English' ) : StopWords
$language string
Résultat StopWords

isStopWord() public méthode

public isStopWord ( string $token ) : boolean
$token string
Résultat boolean

Property Details

$stopWords protected_oe property

protected array $stopWords
Résultat array