Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elastica
Suggest
Phrase
setGramSize
Elastica\Suggest\Phrase::setGramSize PHP Method
Phrase Class Documentation
Show file
Open project: ruflin/elastica
setGramSize()
public
method
Set the max size of the n-grams (shingles) in the field.
public
setGramSize
(
integer
$size
)
$size
integer
public function setGramSize($size) { return $this->setParam('gram_size', $size); }
Phrase
addCandidateGenerator
setAnalyzer
setConfidence
setGramSize
setHighlight
setLaplaceSmoothing
setLinearInterpolationSmoothing
setMaxErrors
setRealWordErrorLikelihood
setSeparator
setSmoothingModel
setStupidBackoffSmoothing
toArray