Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Unsupervised automatic keyphrase extraction

Project description

SemCluster

Unsupervised Automatic Keyphrase Extraction Using Affinity Propagation

Installation

  1. Clone this Repo and its submodules using

    git clone --recurse-submodules git@code.siemens.com:palle.klewitz/semcluster.git
    
  2. 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 ..
    
  3. 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


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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page