Skip to main content

"Fusional Real-time Automatic Keyword Extraction"

Project description

FRAKE: Fusional Real-time Automatic Keyword Extraction

This package is a Fusional Real-time method keyword extraction on text extracted from single documents to select the most important keywords of a text. Our method consists of a combination of two models: graph centrality features and textural features. The proposed method has been used to extract the best keyword among the candidate keywords with an optimal combination of graph centralities, such as degree, betweenness, eigenvector, and closeness centrality, and textural, such as Casing, Term position, Term frequency normalization, Term different sentence, Part Of Speech tagging. There have also been attempts to distinguish keywords from candidate phrases and consider them on separate keywords. In addition to the python package here described, we also make available a web app

Installation

you can install this package using pip

$ pip install FRAKE-extractor

How to use

you can use very simply 😀

import FRAKE

text = "Google is acquiring data science community Kaggle. Sources ..."

kw = FRAKE.KeywordExtractor(lang='en',hu_hiper=0.4,Number_of_keywords=10)

print(kw.extract_keywords(text))
>>>  {'kaggle': 29.4,
        'google': 22.04,
        'data science machine competitions': 13.11,
        'Google acquiring data science Kaggle': 10.86,
        'data community': 8.33,
        'data': 5.72,
        'service running': 5.62,
        'platform': 3.86,
        'service': 3.79,
        'sources': 2.9}

or you can run example.ipynb file

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

FRAKE-extractor-1.0.1.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

FRAKE_extractor-1.0.1-py3-none-any.whl (14.8 kB view hashes)

Uploaded Python 3

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