Skip to main content

An NLTK-based toolkit aimed at increasing the understanding of various texts.

Project description

Smart Reading

About

Smart Reading is a Python module designed for increasing the understanding of various textsforms by using natural language processing. It is heavily based on tools available from the Natural Language Toolkit (NLTK).

Installation

The smart_reading module is available for Python 2.7+, but recommended to run on Python 3+ for a more thorough unicode support. Install via pip (or any other desired client)

$ pip install smart_reading

or by downloading the source on PyPI or GitHub and running in the root folder:

$ python setup.py install

Functionality

Three sample texts are included, and available via the function smart_reading.book.sample:

>>> import smart_reading as sr
>>> sr.book.sample() # or sr.book.sample('txt')

Succesfully loaded 'Benn_Ch_II_The_Metaphysicians.txt' as an e-book
Total n.o. tokens: 10420

<smart_reading.book.Book instance at 0x105a546c8>
>>> sr.book.sample('pdf')

Succesfully loaded 'PhysRev.47.777.pdf' as an e-book
Total n.o. tokens: 3192

<smart_reading.book.Book instance at 0x110c0ebd8>
>>> sr.book.sample('epub')

Succesfully loaded 'Mason_Throwing_Sticks.epub' as an e-book
Total n.o. tokens: 13581

<smart_reading.book.Book instance at 0x105a46e60>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smart_reading-0.3.3.tar.gz (321.3 kB view details)

Uploaded Source

Built Distribution

smart_reading-0.3.3-py2.py3-none-any.whl (342.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file smart_reading-0.3.3.tar.gz.

File metadata

File hashes

Hashes for smart_reading-0.3.3.tar.gz
Algorithm Hash digest
SHA256 3cfef1baf7c68680f192c6d4845a6922dffc85eb773f9b8bd50129d38a7637d2
MD5 8d639a93524c26201ef9345310dce194
BLAKE2b-256 4727c2617903580fc38d60fcad03a661e5b230fe3bc6f20a3cde495c0d6f70e9

See more details on using hashes here.

File details

Details for the file smart_reading-0.3.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for smart_reading-0.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7261f638ad13bbed16b5dab8099184bff1c08e926b2600d05c927e932e8ac2a5
MD5 0354312b5a6283de5199834863eca651
BLAKE2b-256 1eb1eae6040e785c35f60955f8ea5bd717165e13e879c27fd9ccbe3f5db957d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page