A Graph-based Perception(Text) Representation
Project description
KeypartX
KeypartX: a graph-based approach to represent perception (text in general) by key parts of speech. KeypartX solved the coherence crux that current topic modeling algorithms are trying to deal with but failed. KeypartX 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
The following wordclouds are generated from a real example of corpus comprised of reviews by those who visit Thailand.
- Keyparts Wordcloud
Installation
if need coreferee:
pip install keypartx[coreferee_spacy]
python3 -m coreferee install en
python -m spacy download en_core_web_lg
else:
pip install spacy
pip install keypartx
python -m spacy download en_core_web_lg
Getting Started
For an in-depth overview of the features of KeypartX you can check the Documents or you can follow along with one of the examples as follows:
Name | Link |
---|---|
KeypartX Quick Start | |
KeypartX with Real Example | |
KeypartX VS Topic Modelling | |
KeypartX Network Comparison |
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 Community and Gray Perceptual Unit Networks
Citation
To cite the KeypartX paper, please use the following bibtex reference:
@article{pengyang2022keypartx,
title={KeypartX: Graph-based Perception (Text) Representation},
author={Peng, Yang},
journal={arXiv preprint arXiv:2209.11844},
year={2022}
}
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
keypartx-0.1.13.tar.gz
(32.3 kB
view hashes)
Built Distribution
keypartx-0.1.13-py3-none-any.whl
(34.4 kB
view hashes)
Close
Hashes for keypartx-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06e09aa8fb862965ae8a80cb6f5b6cbe5ed7f58ebee5f5ff610a59679e8b9404 |
|
MD5 | 0e8e89f1bf67063c2a762b6c144fb285 |
|
BLAKE2b-256 | a6f5e833b6762d27634e66c02e335f06df83b0bab2f60e3fac0c6388e305679d |