JS-libvoikko interactive demo

JS-libvoikko is a pure JavaScript port of libvoikko. It runs in latest versions of all major web browsers without plugins or server side scripting. You can try the code samples below and edit them to see some of the possibilities.

See the API documentation for more info. Our JavaScript API follows the Java API as closely as reasonably possible but some differences remain.

Legal notices

This demonstration page is written by Harri Pitkänen (hatapitk@iki.fi). It is made available under the terms of GNU General Public License, version 3 or later.

When JS-libvoikko is used in a web browser it is necessary to load compiled version of libvoikko, possible dependent libraries and required dictionaries to the browser. Since these files are really transferred to the browser (not just run on the server as it has often been the case when libvoikko has been used in the web context) the distribution terms of the relevant software licenses need to be followed. This demonstration uses libvoikko and voikko-fi from corevoikko revision 73a6b8fc5a3c9c65409675a2d662000977e69347. Additionally Emscripten 1.36.0, jQuery 2.2.1 and Bootstrap 3.3.6 are used. Source code to all of these components is available at the linked web sites.