pke
rake-nltk
pke | rake-nltk | |
---|---|---|
3 | 4 | |
1,570 | 1,060 | |
- | - | |
3.1 | 0.0 | |
over 1 year ago | about 2 years ago | |
Python | Python | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pke
- Question on easing comprehension
-
[P] Building model to extract keywords from legal documents
Look into rake, pke, phrasemachine, pyate, keybert.
-
Best approach for automatic key word extraction
There are lots of off-the-shelf tools for this. Look into: - https://github.com/boudinfl/pke - https://github.com/kevinlu1248/pyate - https://github.com/zelandiya/RAKE-tutorial - https://github.com/slanglab/phrasemachine - https://github.com/MaartenGr/KeyBERT/
rake-nltk
- rake-nltk 1.0.6 released. Comes with the flexibility to choose your own sentence and word tokenizers.
-
PMI for WordClouds
I'm not sure what you mean by tokenizing phrases or concepts. Specifically extracting institution names would fall under NER. You can do this with spaCy. Extracting commonly used phrases would fall under keyword extraction. For this, you can study frequencies of n-grams of length > 1 and optionally filter based on POS (i.e. NOUN+ADJ). I've never used RAKE (https://github.com/csurfer/rake-nltk) but I've heard this is also a popular method.
What are some alternatives?
KeyBERT - Minimal keyword extraction with BERT
yake - Single-document unsupervised keyword extraction
NLTK - NLTK Source
pytextrank - Python implementation of TextRank algorithms ("textgraphs") for phrase extraction
flashtext - Extract Keywords from sentence or Replace keywords in sentences.
textstat - :memo: python package to calculate readability statistics of a text object - paragraphs, sentences, articles.
WordDumb - A calibre plugin that generates Kindle Word Wise and X-Ray files for KFX, AZW3, MOBI and EPUB eBook.
pyate - PYthon Automated Term Extraction
hepscrape - arXiv:hep-ph scraper
retext-readability - plugin to check readability
simple_keyword_clusterer - A simple machine learning package to cluster keywords in higher-level groups.