Skip to main content

Unsupervised automatic keyphrase extraction

Project description


Unsupervised Automatic Keyphrase Extraction Using Affinity Propagation


  1. Clone this Repo and its submodules using

    git clone --recurse-submodules
  2. Install esa-wiki

    cd ESA-Wiki
    python3 sdist bdist_wheel
    pip3 install dist/wiki_esa-0.0.1-py3-none-any.whl
    cd ..
  3. Install semcluster

    python3 sdist bdist_wheel
    pip3 install dist/semcluster-0.0.1-py3-none-any.whl


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for semcluster, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size semcluster-0.0.1-py3-none-any.whl (35.1 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size semcluster-0.0.1.tar.gz (34.6 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page