chatbook
Python-based summary and keyword extractor and question answering system about a document's content
##INSTALL
See the requirements.txt file if installing directly. To make an editable package locally, use
pip3 install -e .
To embed in a system as is, from pypi.org use
pip3 install -U chatbook
##USAGE:
This lightweight version of the doctalk package assumes that files have been pre-processesed by doctalk from .txt or .pdf files into .json files. With minimal dependencies (networkx and nltk) and memory requeirements this package is planned to be exposed as a Web App or as an Alexa skill.
python3 -i
>>> from chatbook.talk import run_with
>>> run_with(fname)
This activates dialog about document in <fname>.txt with questions in <fname>_quests.txt
See some examples at :
https://github.com/ptarau/chatbook , where, after installing the system, you can run
python3 -i tests.py
>>> go()
To play with various parameter settings, edit the chatbook/params.py file.
Web App
To use the included ``docbotWeb app, after installingFlask``` and ```waitress```, run the ```app.py``` file in directory ```docbot``` with ```python3 app.py```.
The docbot uses a JSON-based API, documented in chatbook/api.py. In fact, this is the simplest way to integrate the summarizer and the dialog agent into a production system.
Metadata
Release files for chatbook 0.2.4
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 |
|---|---|---|---|---|
| chatbook-0.2.4.tar.gz | 16.0 kB | Without provenance | Details for chatbook-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chatbook-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for chatbook-0.2.4-py3-none-any.whl |
Total release size: 36.4 kB
Release files / chatbook-0.2.4.tar.gz
| Download URL | chatbook-0.2.4.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbeb57bcb3c6584fcc4c5ef1adb5ec4535a88174a848b5f0235cfda144dc05e4
|
|
BLAKE2b-256 checksum How to use checksums |
dc8f683da82c1595a7eacdc6fd7863a1ec518e8c94de440cc1163cb9879ba847
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
|
Release files / chatbook-0.2.4-py3-none-any.whl
| Download URL | chatbook-0.2.4-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d8e5b0a67db2ab8229d94a37dc7fbec10850a3d6dab848baa2f124cdc393e75
|
|
BLAKE2b-256 checksum How to use checksums |
e0dbba6c3ebcd611a33deaa0b93f7db1f581a152f67168a9e8ed7acec4ec2d42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
|
Security for chatbook 0.2.4
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.