Professional NLP toolkit: word count, summarization, keywords, readability
Project description
Fast Text Analyzer
A lightweight, fast, and production-ready Python text analysis toolkit with CLI support.
Features
- Word & sentence statistics
- Automatic language detection
- Extractive summarization
- Keyword extraction
- Readability scoring (Flesch Reading Ease)
- Analyze text from files, URLs, or direct input
- Rich colored CLI output
Installation
pip install fast-text-analyzer
CLI Usage
Analyze Direct Text
fast-text-analyzer analyze "This is a simple example." --summary --lang --keywords
Analyze File
fast-text-analyzer analyze sample.txt --file --summary --readability
Analyze URL
fast-text-analyzer analyze https://example.com --url --summary --lang
Python API Usage
from fast_text_analyzer import Analyzer
text = "Fast Text Analyzer is a professional Python module."
a = Analyzer(text)
print(a.word_count())
print(a.keywords())
print(a.summarize())
Tech Stack
- Python 3.8+
- NLTK
- Click
- Rich
- LangDetect
- Requests
License
MIT License
Author
Redwan Ahmed Machine Learning Engineer | Researcher | Instructor | Software Engineer
Commit
git add README.md
git commit -m "Add professional README"
git push
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
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 fast_text_analyzer-0.1.0.tar.gz.
File metadata
- Download URL: fast_text_analyzer-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6430999c9cf77e9ec883d5fd901f423f290b7d88dcc9cd2977fcb246c2821e32
|
|
| MD5 |
05c021dc961a98b9841649f38aba1f10
|
|
| BLAKE2b-256 |
a5dd729f45e1328692b185de3e36fd29b7511249e1718f5f73d88d56aad7c4f9
|
File details
Details for the file fast_text_analyzer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fast_text_analyzer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9456a2dad8393e8221c1f7b9aa98340b763d53d38d72f595f9fb22d61629e26
|
|
| MD5 |
bf96dd4801b944ad7f14a2708d751a32
|
|
| BLAKE2b-256 |
f024aee19e0f8cf61e6fc8de854262fc10cef2dcf8084687f21effe1625cbad5
|