Skip to main content

kewpie

KEyWord PIckEr with tf-idf

Work in Progress.

Installation

pip install kewpie

Basic Usage

from kewpie import KwPicker

docs = [
    "I am a cat.",
    "I am a dog."
]

picker = KwPicker.build(docs, savedir='/dir/to/save/model/')

sentence = "I am a cat."
span, keyword = picker.get_keywords(sentence)

print(keyword)  # -> 'cat'

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kewpie-0.0.2.tar.gz (13.4 kB view details)

Uploaded Source

File details

Details for the file kewpie-0.0.2.tar.gz.

File metadata

  • Download URL: kewpie-0.0.2.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for kewpie-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2f105213d9e6c93f21709545fa8249dd693d9518b79b98f23185da952a1916b1
MD5 66bc2fe7ceba02441bdce1bcd7e32877
BLAKE2b-256 c0fa70eb7c79d244a5f2e51ba60bfb40a6c0733742a8309b58ba5a4d15ddfae6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page