Statistics about word frequencies in different languages based on a corpus of movie subtitles as extracted by the Frequency Words (https://github.com/hermitdave/FrequencyWords) project.
Currently supported languages (or language codes to be more precise :):
"da", "de", "el", "en", "es", "fr", "it", "nl", "no", "pl", "pt", "ro", "zh-CN"
Usage Examples
Getting the info about a given word
>> from wordstats import Word
>> print (Word.stats('bleu', 'fr'))
bleu: (lang: fr, rank: 1521, freq: 9.42, imp: 9.42, diff: 0.03, klevel: 2)
Comparing the difficulty of two German words
>> from wordstats import Word
>> Word.stats('blauzungekrankenheit','de').difficulty > Word.stats('blau','de').difficulty
True
Top 10 most used words in Dutch
>> from wordstats import LanguageInfo
>> Dutch = LanguageInfo.load('nl')
>> print(Dutch.all_words()[:10])
['ik', 'je', 'het', 'de', 'dat', 'is', 'een', 'niet', 'en', 'van']
Words common across all the languages
Given that the corpus is based on subtitles, some common names have sliped in.
The common_words() function returns a list.
>> from wordstats.common_words import common_words
>> for each in common_words():
>> if len(each) > 9:
>> print(each)
washington
christopher
enterprise
Words that are the same in Polish and Romanian
>> from wordstats import LanguageInfo
>> Polish = LanguageInfo.load("pl")
>> Romanian = LanguageInfo.load("ro")
>> for each in Polish.all_words():
>> if each in Romanian.all_words():
>> if len(each) > 5 and each not in common_words():
>> print(each)
telefon
moment
prezent
interes
...
Installation
pip install wordstats
Metadata
Release files for wordstats 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wordstats-1.2.2.tar.gz | 92.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wordstats-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 186.0 MB
Release files / wordstats-1.2.2.tar.gz
| Download URL | wordstats-1.2.2.tar.gz |
|---|---|
| Size | 92.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2ef0e9ba47827e80be16b77b4fd22760b2484e91ac72c01f11cef05e1377c83
|
|
BLAKE2b-256 checksum How to use checksums |
bd106df521628f9152abe451c9d6135734cb575cc26c6d1f702a22a088796d61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logRelease files / wordstats-1.2.2-py3-none-any.whl
| Download URL | wordstats-1.2.2-py3-none-any.whl |
|---|---|
| Size | 93.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a8a028ab11bac857655c6ae381cb69bbe34b6abaeab1fc5d6b6523eba71cc35
|
|
BLAKE2b-256 checksum How to use checksums |
430d2c2c1d04c51cea16be7f7aa7ca19de4d964465a738aff6925455564baa5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency log