KPTopic
- No more Topic Modeling
- No need Training
- Text Big + Small
- Emoji + Sentiment Score
KPTopic: a graph-based approach to represent perception (text in general) by key parts of speech. KPTopic solved the coherence crux that current topic modeling algorithms are trying to deal with but failed. KPTopic extracts the topics from text corpus syntactically, semantically and pragmatically instead of a meaningless combination of words from topic modeling.
Key Parts: Noun, Adjective, Verb and Emoji
KPTopic Vs Topic Modeling results from the following text:
“Thai food was great we loved it. Thiland also has beautiful beach resorts, we will come to Thailand again👍”
- KPTopic Result
- Topic Modeling Result
['food','thailand','resort','great','love', 'beautiful']
Installation
# pip install kptopic
# pip install git+https://github.com/Atsaniik/kptopic.git
Getting Started
For an in-depth overview of the features of KPTopic you can check the Documents or you can follow along with one of the examples as follows:
| Name | Link |
|---|---|
| KPTopic Quick Start |
Visualization Examples
- 1 NLP Target
Original sentence: """Thai food was great,delicousr and not expensive, we loved it. We visited 3 beach resorts, they are higly recommened... We had "Fire-Vodka" !!!"""
- 2 Keyparts Wordclouds
The following wordclouds are generated from a real example of corpus comprised of reviews by those who visit Thailand.
- 3 Community and Gray Perceptual Unit Networks
Citation
To cite the KPTopic paper, please use the following bibtex reference:
@article{pengyang,
title={KPTopic},
author={Peng, Yang},
journal={a1},
year={202}
}
Metadata
Release files for kptopic 0.0.13
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 |
|---|---|---|---|---|
| kptopic-0.0.13.tar.gz | 37.8 kB | With provenance | Details for kptopic-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kptopic-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for kptopic-0.0.13-py3-none-any.whl |
Total release size: 75.9 kB
Release files / kptopic-0.0.13.tar.gz
| Download URL | kptopic-0.0.13.tar.gz |
|---|---|
| Size | 37.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a74d5c4961ed6aaa6afdbbe1221c5ae009a57b8d1e2a29a9b7829c49786acb7c
|
|
BLAKE2b-256 checksum How to use checksums |
812b4819e4783671cd72dff051423b53d26608a8c3b5d4084c10a329f9116cfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 8, 2026.
Transparency logRelease files / kptopic-0.0.13-py3-none-any.whl
| Download URL | kptopic-0.0.13-py3-none-any.whl |
|---|---|
| Size | 38.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf2ba27c65c234bbaa7a059ceae3c2fc880ccc9a47666e4a5c88f61948c1585f
|
|
BLAKE2b-256 checksum How to use checksums |
deb8edc4ae7ab5bc12a58129aa7395dfc06ea8cca628eda975c9aa8949678952
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 8, 2026.
Transparency logSecurity for kptopic 0.0.13
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for kptopic-0.0.13.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 8, 2026.
Transparency logA 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.