Original code is a Java program by Jacques Savoy released under BSD license.
Use it in node:
// using default agressive stemmervar stem = require'czech-stemmer';stem'nejneobhospodařovávatelnějšími'; // => 'nejneobhospodařováva'// using lighter version of stemmervar stem_light = require'czech-stemmer/light.js';stem_light'nejneobhospodařovávatelnějšími'; // => 'nejneobhospodařovávatelnějš'
Use it in browser:
To reuse Java code as much as possible, limited version of StringBuffer was implemented as a shim and only few code replacements were performed: