Skip to main content

PyPI - Python docs PyPI - PyPi PyPI - License arXiv

KeypartX

  • No more Topic Modeling
  • No need Training
  • No more Machine Learning but Human-like Reading
  • Get the Insights of Text Big and Small

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

KeypartX 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👍”

  • KeypartX Result

  • Topic Modeling Result

['food','thailand','resort','great','love', 'beautiful']

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 Open In Colab
KeypartX with Real Example Open In Colab
KeypartX VS Topic Modelling Open In Colab
KeypartX Network Comparison Open In Colab

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 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}
}

Metadata

Release files for keypartx 0.1.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keypartx 0.1.20
File Size Uploaded Provenance Actions
keypartx-0.1.20.tar.gz 32.1 kB Without provenance Details for keypartx-0.1.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for keypartx 0.1.20
File Interpreter ABI Platform Actions
keypartx-0.1.20-py3-none-any.whl Python 3 none any Details for keypartx-0.1.20-py3-none-any.whl

Total release size: 68.7 kB

Release files / keypartx-0.1.20.tar.gz

Download URL keypartx-0.1.20.tar.gz
Size 32.1 kB
Tags Source
SHA-256 checksum
How to use checksums
87bb95ce481d39f74a64205e66eb23d3056a321d5aa4ee63bbf2139b758c94e8
BLAKE2b-256 checksum
How to use checksums
6bae8d3188e64dba84aaaf47f54759ac141d7aec5774c7a8165cde32f00ce33b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / keypartx-0.1.20-py3-none-any.whl

Download URL keypartx-0.1.20-py3-none-any.whl
Size 36.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1fa59554d7308eb554d9ddb8c49159c5e3be3de11ddc3319df4e1d9a8b187e5
BLAKE2b-256 checksum
How to use checksums
16841e41fdf58ff318bb3ac5bcb1fbc7bde1f7fb3e12714b914f38cd38b93659
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Security for keypartx 0.1.20

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.

Release history Release notifications | RSS feed

This release

0.1.20 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page