Skip to main content

sentify is a simple and fast open source Python toolkit that aggregates in one step the tedious task of fetching, converting to text and segmenting documents into one sentence per line clean text files

I put it together thinking that it is an often unavoidable "stepping stone" for getting quickly to the really interesting NLP and AI tasks we care about these days.

The collected clean sentences are ready for NLP and ML tasks, including passing them to Generative AI for summarization, relation extraction and QA.

It handles local and remote txt and pdf files and urls as well as Wikipedia pages given by their title.

See code at

https://github.com/ptarau/sentify/blob/main/sentify/main.py

for the simple, all in one API.

Get it from github or fetch it from pypi with

pip3 install sentify

See tests/tests.py for testing out the API on several use cases.

Enjoy,

Paul Tarau

January, 2024

Metadata

Release files for sentify 1.0.2

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

Source distribution (sdist)

Source distribution for sentify 1.0.2
File Size Uploaded Provenance Actions
sentify-1.0.2.tar.gz 8.3 kB Without provenance Details for sentify-1.0.2.tar.gz

Release files / sentify-1.0.2.tar.gz

Download URL sentify-1.0.2.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8bc1db647e370d7febcf6d7d65350e79c81d68c8538660a50b3020a0ce10e310
BLAKE2b-256 checksum
How to use checksums
8fd8ab8170bfd59c1862982cdd195f8f4a940540a27c3d14b39cb62bb26d2673
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Security for sentify 1.0.2

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