PHP Interface Camspiers\StatisticalClassifier\Normalizer\Token\NormalizerInterface

Author: Cam Spiers ([email protected])
Afficher le fichier Open project: camspiers/statistical-classifier Interface Usage Examples

Méthodes publiques

Méthode Description
normalize ( array $tokens ) : array Makes tokens more consistent by a particular method.

Method Details

normalize() public méthode

This is to increase matches across what tokens are deemed equivalent but differnt
public normalize ( array $tokens ) : array
$tokens array The tokens to normalizer
Résultat array The array of normalized tokens