Original code is a Java program by Jacques Savoy released under BSD license.
Use it in node:
// using default agressive stemmervar stem = ;; // => 'nejneobhospodařováva'// using lighter version of stemmervar stem_light = ;; // => '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: