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)
Metadata
Release files for semcluster 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| semcluster-0.0.1.tar.gz | 34.6 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| semcluster-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 69.7 MB
Release files / semcluster-0.0.1.tar.gz
| Download URL | semcluster-0.0.1.tar.gz |
|---|---|
| Size | 34.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43b5d31fa6360f26e173995ba7664ec06991ff618a4de792e4a53788dfc80d31
|
|
BLAKE2b-256 checksum How to use checksums |
92a447a949950c05458dd09fdc43c457061941c27fdf8bf1f14c1e903761b241
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.5
|
Release files / semcluster-0.0.1-py3-none-any.whl
| Download URL | semcluster-0.0.1-py3-none-any.whl |
|---|---|
| Size | 35.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac29f4ec9c3e8f9fe674b214abaae9bd44e066d1f452705096b70f329aa2060e
|
|
BLAKE2b-256 checksum How to use checksums |
34006d0a7bb2c325ce3a29346a2f76ee99994aeff25ad5f64274658fb96da236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.5
|
Security for semcluster 0.0.1
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.