Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
TextAnalysis
NGrams
NGramFactory
PHP Class TextAnalysis\NGrams\NGramFactory
Afficher le fichier
Open project: yooper/php-text-analysis
Class Usage Examples
Méthodes publiques
Méthode
Description
create
(
array
$tokens
,
integer
$nGramSize
= self::BIGRAM,
$separator
= ' ' ) :
array
Generate Ngrams from the tokens
Méthodes protégées
Méthode
Description
__construct
( )
Protect the constructor
Method Details
__construct()
protected
méthode
Protect the constructor
protected
__construct
( )
create()
public
static
méthode
Generate Ngrams from the tokens
public
static
create
(
array
$tokens
,
integer
$nGramSize
= self::BIGRAM,
$separator
= ' ' ) :
array
$tokens
array
$nGramSize
integer
Résultat
array
return an array of the ngrams