"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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for FRAKE_extractor-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abbcf7e51fa065d23b7fe21df661e161a1ed82363481d6203be4797398c4a940 |
|
MD5 | 9a4af3e271bfde019918c03c8b3f9c36 |
|
BLAKE2b-256 | 01ec2526f20057d6a1ddfa835c0718c1c6ddd7e87c961c03799471951a55569e |