Skip to main content

lektor-natural-language

This is a Lektor plugin that provides a few simple template filters with the Natural Language ToolKit (nltk).

This offers the following filters:

sentences_filter

Accept a string of text and return a list of its sentences.

Usage: {{ this.text|sentences }}

firstsentences_filter

Accept a string of text and return its the first sentence.

Usage: {{ this.text|firstsentence }}

sentences_filter

Accept a string of text and return a list its keywords as determined by nltk's Rake.

Usage: {{ this.text|keywords }}

Metadata

Release files for lektor-natural-language 0.3.1

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

Built distribution (wheel)

Table of built distributions (wheels) for lektor-natural-language 0.3.1
File Interpreter ABI Platform Actions
lektor_natural_language-0.3.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for lektor_natural_language-0.3.1-py2.py3-none-any.whl

Release files / lektor_natural_language-0.3.1-py2.py3-none-any.whl

Download URL lektor_natural_language-0.3.1-py2.py3-none-any.whl
Size 3.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1b3b039bf12a2887d8bedde8bc4d587f3dd8421af1cd33d74bc79225928e8aba
BLAKE2b-256 checksum
How to use checksums
e9651ab5774a105e4db0e5212de44963fc217b8d3027f67979cc8df8c45914a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Security for lektor-natural-language 0.3.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.

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