imoca/count-min-sketch
Composer 安装命令:
composer require imoca/count-min-sketch
包简介
A count min sketch implementation store on disk.
README 文档
README
Light Count Min Sketch implementation with storing on disk really fast.
Installation via Composer
The recommended method to install is through Composer.
-
Add
imoca/countminsketchas a dependency in your project'scomposer.jsonfile:{ "require": { "imoca/countminsketch": "*" } }
API
$cms = new Imoca\CountMinSketch\CountMinSketch($nb_hash, $nb_width, 'path_to_file_store');
$cms->record("word_to_insert");
$counter = $cms->count("word_to_count");
echo $cms; //working
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-24