PHP Class Fukuball\Jieba\JiebaAnalyse

Datei anzeigen Open project: fukuball/jieba-php Class Usage Examples

Public Properties

Property Type Description
$idf_freq
$max_idf

Public Methods

Method 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 method

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
return array $tags

init() public static method

Static method init
public static init ( array $options = [] ) : void
$options array # other options
return 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