Skip to main content

py ngrams

These n-grams are based on the largest publicly-available, genre-balanced corpus of English - the 520 million word Corpus of Contemporary American English (COCA).

https://badge.fury.io/py/ngrams.svg

Install

pip install ngrams

Example

from ngrams.generate import Ngrams

number = 1

ngrams = Ngrams()

print ngrams.result(number)

License

MIT

Metadata

Release files for ngrams 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ngrams 1.0.3
File Size Uploaded Provenance Actions
ngrams-1.0.3.tar.gz 1.3 kB Without provenance Details for ngrams-1.0.3.tar.gz

Release files / ngrams-1.0.3.tar.gz

Download URL ngrams-1.0.3.tar.gz
Size 1.3 kB
Tags Source
SHA-256 checksum
How to use checksums
36d1c29f61096b0acf4fcdd5c110c8bb5585d832c4975d87929787364455769d
BLAKE2b-256 checksum
How to use checksums
6c5ae71a6f13cde7be9175d87601a6e7029770d79fdd813c495640a7af472054
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ngrams 1.0.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page