Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 534 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 534 Bytes

Paragraph Shortener

Shortens the paragraph depending on the given keywords. Levenshtein distance method is used for keyword similarity detection.

Installation

In order to clone the complete content of this folder use the command:

git clone [email protected]:redrussianarmy/paragraph-shortener.git

Usage

root  
└── shortener.py  
└── yourmain.py  
└── ...
from shortener import ParagraphShortener
shortener = ParagraphShortener()
result = shortener.run(keyword, paragraph)