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

KEyWord PIckEr with tf-idf

Project description

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'

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 kewpie, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size kewpie-0.0.2.tar.gz (13.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page