PHP Class Fukuball\Jieba\JiebaAnalyse

Afficher le fichier Open project: fukuball/jieba-php Class Usage Examples

Méthodes publiques

Свойство Type Description
$idf_freq
$max_idf

Méthodes publiques

Méthode Description
extractTags ( string $content, integer $top_k = 20, array $options = [] ) : array Static method extractTags
init ( array $options = [] ) : void Static method init

Method Details

extractTags() public static méthode

Static method extractTags
public static extractTags ( string $content, integer $top_k = 20, array $options = [] ) : array
$content string # input content
$top_k integer # top_k
$options array # other options
Résultat array $tags

init() public static méthode

Static method init
public static init ( array $options = [] ) : void
$options array # other options
Résultat void

Property Details

$idf_freq public_oe static_oe property

public static $idf_freq

$max_idf public_oe static_oe property

public static $max_idf