/textrankr

TextRank for Korean.

Primary LanguagePythonMIT LicenseMIT

TextRank for Korean

Reorder sentences using TextRank algorithm. Click here to see how to install KoNLPy properly.

Installation

pip install textrankr

Usage

from __future__ import print_function
from textrankr import TextRank

textrank = TextRank(your_text_here)
print(textrank.summarize())

Test

python -m tests.test