Skip to main content

The Python package for the BlankSort keyword extraction algorithm.

Project description

BlankSort

The Python package for the BlankSort keyword extraction algorithm.

Installation

Use the following command to install from TestPyPI:

pip install --upgrade blanksort

Usage

BlankSort can be imported like any other Python package:

import blanksort

After importing, you can create a BlankSort object.

algo = blanksort.BlankSort()

Alternatively, you can use the following code to create the BlankSort object.

from BlankSort import *
algo = BlankSort()

The BlankSort constructor accepts the following arguments:

  • binary_path [optional]
    • The path to the binary folder that contains blanksort.database and stopwords-en.txt. If not specified, the default binary files will be downloaded.
  • preloadVectors [optional keyword argument]
    • A boolean (default False) that specifies if word vectors should be pre-loaded into memory.
  • preloadVectors [optional keyword argument]
    • A boolean (default False) that specifies if word vectors generated on-the-fly should be saved to blanksort.database.

Example

import blanksort
algo = blanksort.BlankSort()
keywords = algo.rank("[input text]")

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

blanksort-0.0.3.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

blanksort-0.0.3-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file blanksort-0.0.3.tar.gz.

File metadata

  • Download URL: blanksort-0.0.3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for blanksort-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ffd070fd9872e237acb14ca6961d2831409de5f883806a899748b985d2cc4dc5
MD5 e7fa82599575e34f724fc42b22e12b66
BLAKE2b-256 31e7c3bc11183ab1c41b4949f7bad09b5982a3b6f0ecfe6cdcb90ab5e2e7bec1

See more details on using hashes here.

File details

Details for the file blanksort-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: blanksort-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for blanksort-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d867a7571a9cf1fb2f708c72b347fd1f0e97dda34569eaaaaa021d34b1b4ad8d
MD5 fdd52d9d0b4fb9d4a91eeca9afb877c8
BLAKE2b-256 cea1a91072a12ff826b6ced445e3cf827f66c396ef6e4f46ba45b837e9c1d9b9

See more details on using hashes here.

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