No project description provided
Project description
Story Analyzer
Get all the details of a story. From summaries to character information, explore your book like never before!
Features
- Quiz game
- Translation
- Summarization
- Most relevant topics
- Characteres list
- Lines list
- Number of sentences
- Match of input phrase with a storie excert
Usage
usage: main.py [-h] [-m {local,web}] [-q] [-t [{English,Spanish,French,German,Italian,Portuguese}]] [-d] [-s] [-l] [-c] [-a [ACTIONS]]
[--save title] [-p PROJECTION]
input output
Book Analyzer: get insight informations of your storie
positional arguments:
input input file path or book name (only in web mode)
output output file path
options:
-h, --help show this help message and exit
-m {local,web}, --mode {local,web}
app modes
-q, --quiz quiz game
-t [{English,Spanish,French,German,Italian,Portuguese}], --translate [{English,Spanish,French,German,Italian,Portuguese}]
translate the book
-d, --discussions list the book discussions (topics)
-s, --summary summarize the book
-l, --language detect book language
-c, --characters get informations of the book characters
-a [ACTIONS], --actions [ACTIONS]
get the top most actions of a book
--save title the book will be saved and so will any queries invoked deemed savable.
-p PROJECTION, --projection PROJECTION
project queries in the text range. Projection type is [<bottom>;<higher>]
-sa, --sentiment-analysis
get the sentiment analysis of the book
Dependencies
- Quiz game is made with https://huggingface.co/gpt2
- Transaltion is made with https://huggingface.co/docs/transformers/main/en/model_doc/t5#overview
- Summarization is made with https://huggingface.co/docs/transformers/model_doc/pegasus
- Most Relevent Topics is made with https://radimrehurek.com/gensim/
- Language detection is made with https://huggingface.co/papluca/xlm-roberta-base-language-detection
- Actions, Characters and places list is made with https://spacy.io/
- HTML extraction is made with https://www.crummy.com/software/BeautifulSoup/bs4/doc/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
story_analyzer-0.1.2.tar.gz
(190.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file story_analyzer-0.1.2.tar.gz.
File metadata
- Download URL: story_analyzer-0.1.2.tar.gz
- Upload date:
- Size: 190.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.0 CPython/3.10.10 Linux/6.2.7-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e6f95746d4bbc57b633e20dc232cc8df66322765a35c013aba8c8cdcbb7a869
|
|
| MD5 |
8f72556a771f2733a24d8a1b0fe0424e
|
|
| BLAKE2b-256 |
63b4b08115329ef7bb0b3c6154a7f273d323e5e4c874a29bd68a387b7329c85d
|
File details
Details for the file story_analyzer-0.1.2-py3-none-any.whl.
File metadata
- Download URL: story_analyzer-0.1.2-py3-none-any.whl
- Upload date:
- Size: 193.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.0 CPython/3.10.10 Linux/6.2.7-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc96a74912024e43cc3637f63c9882f5d5cb31b3ccceb42d1862987e70941107
|
|
| MD5 |
49243592e2408ed653222ce3b1e7c8a0
|
|
| BLAKE2b-256 |
24d212e74886ffb8810cc65b23a602712ce78c204c36f0c803fe8fe871bfb5b7
|