Home

Awesome

latin-stemming

Functions for getting the stems for Latin words. Based on the Schinke algorithm. The key thing to note about this approach is that it can be applied to words when it doesn't know what language part (e.g. noun vs verb) it is. In those cases it will usually return more than one possible stem.

var stemming = require("latin-stemming");

Constants

The module uses several hard-coded arrays for lookups and replacements. You can access them yourself via:

Functions

stemming.stem(word, config) // => []

Word, I hope, is self explanatory. Config is a struct that can contain several optional values:

stemming.couchkey(config) // => Function

Returns a contextless function that can be used for CouchDB indexes. Config can contain several optional values: