#
# Given an arbitrary string, and the value of n as the size of the
# n-gram (int), this module will show you the results, sorted from
# most to least frequently occuring n-gram.
#
# The 'sort by value' operation for the dict follows the
# PEP 265 recommendation.
#
# Installation:
#
# user@host:~$ sudo pip install pyngram
#
# Quick start:
#
# >>> from pyngram import calc_ngram
#
# method expects inputstring as 1st arg, size of n-gram as 2nd arg
#
# >>> calc_ngram('bubble bobble, bubble bobble, bubble bobble', 3)
#
# or straight from your *nix shell prompt
#
# user@host:~$ ./pyngram.py
#
# Enjoy!
#
# Jay Liew
# @jaysern
#
Metadata
Release files for pyngram 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyngram-1.0.1.tar.gz | 1.9 kB | Without provenance | Details for pyngram-1.0.1.tar.gz |
Release files / pyngram-1.0.1.tar.gz
| Download URL | pyngram-1.0.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
176ed79e96a251305a8d8572f0a2e2ab7bf48d5055ba46150f989e42dbd36994
|
|
BLAKE2b-256 checksum How to use checksums |
53669bc5236750dac360c6ed2d0359a2cc4695db9114c5f68911a3ba28eb6f13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyngram 1.0.1
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.