Skip to main content

No project description provided

Project description

Whispool

Fast in memory word frequency count, with Rust

Installation

pip install whispool

Basic usage

We assume we have n sentences, with each sentence broken into words. And each sentence is

sentence = [
            ['This', 'is', 'a', 'sentence'],
            ['This', 'is', 'another', 'sentence'],
            ['This', 'is', 'a', 'third', 'sentence'],
            ...
        ]
info = list([
            ['id1', 'category1', 'sci-fi', 'movie','Jan.'],
            ['id2', 'category1', 'romance', 'movie','Jan.'],
            ['id3', 'category2', 'sci-fi', 'tv','Feb.'],
            ...
        ])

Build from rust

maturin build --release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whispool-0.1.0.tar.gz (541.0 kB view hashes)

Uploaded Source

Built Distribution

whispool-0.1.0-cp37-cp37m-macosx_10_7_x86_64.whl (319.5 kB view hashes)

Uploaded CPython 3.7m macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page