Word frequency checker based on Wikipedia corpus written in Rust
Project description
Word frequency checker based on Wikipedia corpus written in Rust
Table of Contents
About The Project
Rust library for checking against the Wikipedia word frequency corpus. The library is fast, memory efficient, and secure. The data structure used to do full lookups is the Hashmap. A Suffix Array data structure suffix is used to perform quick lookups of sub-patterns over the dictionary.
Built With
Installation
pip3 install pywordfreq
Usage
import pywordfreq
# On the first use of library, the engine is loaded with the dictionary.
# It is worth to mention that there is a significant ammount
# of memory overhead for the engine.
# This function checks the frequency of the word "the" in the corpus
pywordfreq.full_frequency(
word="the",
)
# This function checks the frequency of the word "inter" as a pattern
# in other words of the dictionary.
pywordfreq.partial_frequency(
pattern="inter",
)
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Gal Ben David - gal@intsights.com
Project Link: https://github.com/intsights/pywordfreq
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for pywordfreq-0.4.2-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1b19906a5e66593b00ca032f6d3399a6286b507e0ca89404b846415f03501a |
|
MD5 | c54064679f7315517e65c2e0ef420ccf |
|
BLAKE2b-256 | bee7dd244b451bc6aa23fcbf3907f4ef5f03202843f76f80cf6acd0984476b9d |
Close
Hashes for pywordfreq-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0294146aa5180b4f2748572762ec88360053c61e0516e37617352d76e9aebc9f |
|
MD5 | fedd88f7683cf5fa4ba9d5c8954b2b47 |
|
BLAKE2b-256 | cc14128eb2e4f24f670559c3e9a19a54a9dc4063598c231d42b4582ed0f960d3 |
Close
Hashes for pywordfreq-0.4.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebdff75b5ad20484457667aec3943e0384e85172be5f3b5bdf42cf4a5094492d |
|
MD5 | 7fcb053931039c8fd52e0262db939f4b |
|
BLAKE2b-256 | 282d6ff162f36a10b29e5578f7583ea0b1499bc96aa60724505000a938f3c68c |
Close
Hashes for pywordfreq-0.4.2-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24d20b55d1112735d550cc0e4b56cfad7a18a8f7c7aa9f48331f2032a33b1f68 |
|
MD5 | 8cb3452b4781c9e9931595fc726f8318 |
|
BLAKE2b-256 | 91bebe0ddadb2383d4726dd76d139cb50d5aabd29e4c482920a9d9e9e2c86868 |
Close
Hashes for pywordfreq-0.4.2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3091814d1e6b92f0909db5fc2d59fcef68aed7ea9cc949315bc181a270ea02ae |
|
MD5 | ad4b52a2be9f113e1efb64a3a50ac597 |
|
BLAKE2b-256 | 6c81df5d0457b8019782867a408b8938700e7c1c819af9805f49c6f2906b9728 |
Close
Hashes for pywordfreq-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4d8d4f0d2d6231742177c783ca6d8699e56bf33f708260e7263ec7fae555c9f |
|
MD5 | 82728b40b68dd3320884584275f7636b |
|
BLAKE2b-256 | 8021fd74fb3e47659f54c329fc702f1bc8e70acde5d8e39f07112411f96461c0 |
Close
Hashes for pywordfreq-0.4.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6270fec4a36031fe503b8d5e8b9ecec8267544031fca139c2b14b7cb78665480 |
|
MD5 | a3ea73d6e5c82ddbd38f8d52118ff284 |
|
BLAKE2b-256 | 04b10e0aaafcac0146827b0be87217cd3b9600f54454fe7705744437894ad081 |
Close
Hashes for pywordfreq-0.4.2-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 965cdccc25d1d25f7675501ad77c6836ea9dac7aa8566cde264013829a655871 |
|
MD5 | 40e75e223f599daae441aa7c7577da0a |
|
BLAKE2b-256 | 92cebf6acc810d411c399e835dd3d809a4131c10d1f0718b0fc31d35a2d35ecb |
Close
Hashes for pywordfreq-0.4.2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a3d8a23cd0544764be420d4dcf887f6aba677a50c2c65b1949cb1aee8dacb72 |
|
MD5 | daf3aa229ca4bb597053804efd60156a |
|
BLAKE2b-256 | 5652903a8d8ead97406b92595570d5a79bedcf03643726f1276710baf1f99497 |
Close
Hashes for pywordfreq-0.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 268f02b4b62a19d40bdf965bef2fa6037cca05845e8e507de8a1658f66c3f4e2 |
|
MD5 | 3adea407332950eb174aaeb0f4e80c72 |
|
BLAKE2b-256 | c074aadd0ffb9f6c686c44ffe9c582f68ef3b44880324f9ab0d1d8f58d9db897 |
Close
Hashes for pywordfreq-0.4.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a18af4f93e8a4e59e26a43f38d36394f4e5b169182742dc5efe4bfb867d87ab4 |
|
MD5 | 1248e4b22d50e60ac9f573f12bf999a2 |
|
BLAKE2b-256 | e5853974f9a6c9b1c31d0f2f39d03de618701d8e2ed26275da30285ac0063a4d |
Close
Hashes for pywordfreq-0.4.2-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70ebbfd6161c0fe4a17d8d453f174978781ee5de6903247440a3e7d47063f208 |
|
MD5 | c1ae5a8171771deed1f6ab7827685406 |
|
BLAKE2b-256 | 50cf6c1d166e9c646b8865d6843477151db0e3f520cd56ac2613d226fa29c233 |
Close
Hashes for pywordfreq-0.4.2-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47b44b8d5fd1193dc908ae1a354ea5617f9fcaf0398a943a86a04299afd57c34 |
|
MD5 | d3db2738e2b298ff088971ad1452712d |
|
BLAKE2b-256 | d75f8943de137f4a0874942c4dd255bbc17a57ae20e38fb7140826195758d024 |
Close
Hashes for pywordfreq-0.4.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8522762d994faee4dba88f126f0e189dec921f5770351709b18179c0bc7194c9 |
|
MD5 | 74b4126b2a33fd3f0c900774f8854b82 |
|
BLAKE2b-256 | 7b885d7bc4459499d4631d89875bd1ae585c2e6e816f8fad1456aa65f5b3a4ab |
Close
Hashes for pywordfreq-0.4.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60396ded53792e48c0b6acea6c3d7a37cc5bda29b0ede4ff9acc41e128d7e13f |
|
MD5 | d06adcfc9b0db6f861f340df780f61f6 |
|
BLAKE2b-256 | b7c51857c4d0a92fcd9fa6233658daf545b5d11191836f16fd559d0f8d6fa26f |
Close
Hashes for pywordfreq-0.4.2-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8292ed71fd0bf0479d43151cde647c21b7fe858a2bd54747afc5952521789d0e |
|
MD5 | 0317409aeea9eccb614da42b52e55c8c |
|
BLAKE2b-256 | 0792df1d3da84931b72251fa1be380018541cd53076863250be71d7420788a3b |
Close
Hashes for pywordfreq-0.4.2-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0f1c58ed44d42006f01986876e3213540a04d034ea99b3a1bc2e30375e9d854 |
|
MD5 | 5f12565c467ec0935d272baa6ce272a1 |
|
BLAKE2b-256 | 3f8411d76264de9807db3f8255be23dae2137dc888a18956f1c843d1809fe651 |
Close
Hashes for pywordfreq-0.4.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 733379dc05e98a72d16f0868aecb5b75bd537733d743c4028ec5d082fb643c1e |
|
MD5 | fb829c86f605edf2c559ad7537e10170 |
|
BLAKE2b-256 | 02cd8d69d73cea16c949558e5504ca52433072c4541f7aa5230cd97e7ae927d2 |
Close
Hashes for pywordfreq-0.4.2-cp37-cp37m-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 259c234f7b124fb5771f949548c6972d9e13dec69088bf6121fe1ae306592245 |
|
MD5 | 0a3bb8ea355ca4cbae9be331785601eb |
|
BLAKE2b-256 | 0c84762e0f0af2a751dd526d37b9588eb37d830c485e0ece0caeb37262114ce4 |
Close
Hashes for pywordfreq-0.4.2-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae8c7fd15071cfbbdc245243e5eab1de0b9ba6ff9c2d41ac6ace1de74f19f33b |
|
MD5 | 148606b08dd46398f19f6950fa9c50f4 |
|
BLAKE2b-256 | f2aab926484da1c91a9257edbaf58ec19676c028bc876334838a145008c7fad1 |