Свойство | Тип | Описание | |
---|---|---|---|
$document | ContentDocument; | ||
$nGramSize | integer | ||
$tokens | array |
Метод | Описание | |
---|---|---|
__construct ( |
||
__destruct ( ) | ||
getKeywordScores ( ) : array | ||
getPhrases ( ) : array | Get all the possible phrases | |
getTokens ( ) : array | ||
getTokensDocument ( ) : |
public __construct ( |
||
$document | ||
$nGramSize | integer |
public getKeywordScores ( ) : array | ||
Результат | array | returns an array with the key as the phrase and the value is the score it is already sorted |
public getPhrases ( ) : array | ||
Результат | array |
public getTokensDocument ( ) : |
||
Результат |