ArtistScript/FastTextRank
A Chinese text summarization and keyword extraction library using optimized TextRank and PageRank algorithms with word vectors.

This repository implements text summarization and keyword extraction for Chinese text by building a graph of sentences or words and computing their importance using iterative ranking algorithms. It optimizes the classic TextRank approach by reducing time complexity from O(n²) to O(n), and optionally uses word vectors (via gensim) to improve similarity calculations between sentences. The library provides separate APIs for extracting keywords and generating document abstracts.