#116 · Primary category: NLP Tools & Text Processing
textrank
TextRank implementation for Python 3.
Project last updated:03/28/23
GitHub Stars
1.3K
Forks
246
Contributors
12
License
MIT
Why we included this project
TextRank is the classic graph-based method for pulling the most important sentences and keywords out of a document, and this library is a tidy Python 3 implementation of it. Summarize a text with summarizer.summarize() or extract its key terms with keywords.keywords(); that pair of functions is nearly the whole API. Because it ranks text locally over NumPy and SciPy instead of invoking a language model, it runs fast, gives the same answer every time, and needs no network access, which suits preprocessing steps, indexers, and batch jobs that chew through large volumes of text. A command-line tool handles files directly. It's a focused building block rather than a full summarization platform, but teams that want extractive summaries without model overhead will find it drops into an existing pipeline quickly.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量