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.

Source Distribution

semcluster-0.0.1.tar.gz (34.6 MB view hashes)

Uploaded Source

Built Distribution

semcluster-0.0.1-py3-none-any.whl (35.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page