Searched refs:entityName (Results 1 – 3 of 3) sorted by relevance
159 * @param string $entityName165 public function addMatch(string $entityName, string $tokenName, int $frequency): void argument167 $this->matches[$entityName][$tokenName] =168 ($this->matches[$entityName][$tokenName] ?? 0) + $frequency;
145 $entityName = $entityMap[$entityId] ?? '';146 if ($entityName === '') continue;147 $match['term']->addMatch($entityName, $match['token'], $freq);
222 $term->getEntityFrequencies(); // [entityName => totalFrequency, ...]223 $term->getEntityTokens(); // [entityName => [tokenName, ...], ...]224 $term->getMatches(); // [entityName => [tokenName => freq, ...], ...]