Skip to content
Find lemmas for estonian language words
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
helpers.js
index.js
lemma.js
package.json

README.md

Lemma

lemma finds canonical forms of estonian language words. This is a wrapper for ESTMORF.EXE

Installation

npm install lemma

Usage

lemma(words, callback) where

  • words is a single word (a string) or a set of words (an array)
  • callback is the return callback with two parameters - err if there was an error and lemmas which is an object in the form of {"word":["lemma1", "lemma2"]}

Example:

var lemma = require("lemma");

lemma("vanamehed", function(err, lemmas){
    console.log(lemmas["vanamehed"]); //  [ 'vanamees', 'vana', 'mees', 'mesi' ]
});

License

MIT

Something went wrong with that request. Please try again.