pyo3/examples/word-count-cls
2017-07-31 10:42:55 -07:00
..
src add prelude mod 2017-07-31 10:42:55 -07:00
tests make word count example with class 2017-07-27 13:09:56 -07:00
word_count_cls make word count example with class 2017-07-27 13:09:56 -07:00
.gitignore make word count example with class 2017-07-27 13:09:56 -07:00
Cargo.toml make word count example with class 2017-07-27 13:09:56 -07:00
README.md make word count example with class 2017-07-27 13:09:56 -07:00
setup.py make word count example with class 2017-07-27 13:09:56 -07:00

word-count

Build

python setup.py install

Usage

from word_count_cls import WordCounter

WordCounter().search('path/to/file', 'word')