surprisoh / textrankr

TextRank for Korean.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TextRank for Korean

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

Upgraded version named lexrankr using LexRank is available too!

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

About

TextRank for Korean.

License:MIT License


Languages

Language:Python 100.0%