Property | Type | Description | |
---|---|---|---|
$document | ContentDocument; | ||
$nGramSize | integer | ||
$tokens | array |
Method | Description | |
---|---|---|
__construct ( |
||
__destruct ( ) | ||
getKeywordScores ( ) : array | ||
getPhrases ( ) : array | Get all the possible phrases | |
getTokens ( ) : array | ||
getTokensDocument ( ) : |
public __construct ( |
||
$document | ||
$nGramSize | integer |
public getKeywordScores ( ) : array | ||
return | array | returns an array with the key as the phrase and the value is the score it is already sorted |
public getTokensDocument ( ) : |
||
return |