Unsupervised automatic keyphrase extraction
Project description
SemCluster
Unsupervised Automatic Keyphrase Extraction Using Affinity Propagation
Installation
-
Clone this Repo and its submodules using
git clone --recurse-submodules git@code.siemens.com:palle.klewitz/semcluster.git
-
Install esa-wiki
cd ESA-Wiki python3 setup.py sdist bdist_wheel pip3 install dist/wiki_esa-0.0.1-py3-none-any.whl cd ..
-
Install semcluster
python3 setup.py sdist bdist_wheel pip3 install dist/semcluster-0.0.1-py3-none-any.whl
Usage
from semcluster import SemClusterKeywordExtractor
text = "The quick brown fox jumps over the lazy dog."
# Instantiate extractor
e = SemClusterKeywordExtractor()
# Extract phrases
keyphrases = e.extract_keyphrases(text, seed_threshold=0.7, verbose=True)
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
semcluster-0.0.1.tar.gz
(34.6 MB
view hashes)
Built Distribution
semcluster-0.0.1-py3-none-any.whl
(35.1 MB
view hashes)
Close
Hashes for semcluster-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac29f4ec9c3e8f9fe674b214abaae9bd44e066d1f452705096b70f329aa2060e |
|
MD5 | 0f49113b1760596f9c3e88d69424b60c |
|
BLAKE2b-256 | 34006d0a7bb2c325ce3a29346a2f76ee99994aeff25ad5f64274658fb96da236 |