Lines Matching refs:splitByLength
50 * @param bool $splitByLength Whether to split token/frequency indexes by token length
58 protected bool $splitByLength = false argument
60 if ($idxToken instanceof AbstractIndex && $splitByLength) {
178 return $this->splitByLength;
193 if ($group === 0 && $this->splitByLength) {
196 if ($group !== 0 && !$this->splitByLength) {
231 $max = $this->splitByLength ? $this->getTokenIndexMaximum() : 0;
232 $groups = $this->splitByLength ? ($max > 0 ? range(1, $max) : []) : [0];
275 $max = $this->splitByLength ? $this->getTokenIndexMaximum() : 0;
276 $groups = $this->splitByLength ? ($max > 0 ? range(1, $max) : []) : [0];
370 $group = $this->splitByLength ? Tokenizer::tokenLength($token) : 0;