smmry-fi
v1.0.0
Published
Summarizes articles and text written in Finnish
Downloads
10
Readme
smmry-fi
Creates TL;DR type summaries from text written in Finnish.
How it works
- The input text is split into sentences.
- From each sentence common stopwords are removed and the remaining words are being stemmed into their most basic form and counted for "score".
- Sentences with highest score count are returned from the original text.
Installation
$ npm install smmry-fi
Usage
import { createSummary } from "smmry-fi";
const summary = createSummary(longTextToCreateSummaryFrom);