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
andstopwords-en.txt
. If not specified, the default binary files will be downloaded.
- The path to the binary folder that contains
- preloadVectors [optional keyword argument]
- A boolean (default
False
) that specifies if word vectors should be pre-loaded into memory.
- A boolean (default
- preloadVectors [optional keyword argument]
- A boolean (default
False
) that specifies if word vectors generated on-the-fly should be saved toblanksort.database
.
- A boolean (default
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)
Built Distribution
blanksort-0.0.3-py3-none-any.whl
(12.8 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd070fd9872e237acb14ca6961d2831409de5f883806a899748b985d2cc4dc5 |
|
MD5 | e7fa82599575e34f724fc42b22e12b66 |
|
BLAKE2b-256 | 31e7c3bc11183ab1c41b4949f7bad09b5982a3b6f0ecfe6cdcb90ab5e2e7bec1 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d867a7571a9cf1fb2f708c72b347fd1f0e97dda34569eaaaaa021d34b1b4ad8d |
|
MD5 | fdd52d9d0b4fb9d4a91eeca9afb877c8 |
|
BLAKE2b-256 | cea1a91072a12ff826b6ced445e3cf827f66c396ef6e4f46ba45b837e9c1d9b9 |