Nskipgrams

Latest version: v0.5.0

Safety actively analyzes 622435 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.5.0

Added
- Added support for Python 3.11.

Removed
- Dropped support for Python 3.7.

0.4.0

Added
- Added support for Python 3.10.

Removed
- Dropped support for Python 3.6.

0.3.0

Added
- Added the new class `Skipgrams` (which `Ngrams` subclasses from now).

Changed
- Changed package name from `ngrams` to `nskipgrams`.
- In various methods of `Ngrams`, the argument name `order` has been changed
into `n`.

Removed
- Removed the `total_count` method of `Ngrams`.
Now that `Skipgrams` is added,
`total_count` would be too confusing and/or not of much use in practice.

0.2.1

Fixed
* Avoided creating empty inner tries unnecessarily in the internal tries.

0.2.0

Added
* Implemented the prefix option and multiple orders in `Ngrams.ngrams_with_counts`.
* Implemented `Ngrams.combine` to combine collections of ngrams.

0.1.0

Initial release

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.