smmry-fi
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

smmry-fi

github coveralls npm

Creates TL;DR type summaries from text written in Finnish.

Online demo

How it works

  1. The input text is split into sentences.
  2. From each sentence common stopwords are removed and the remaining words are being stemmed into their most basic form and counted for "score".
  3. 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);

Readme

Keywords

Package Sidebar

Install

npm i smmry-fi

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

11.1 kB

Total Files

8

Last publish

Collaborators

  • rauli