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. Need help on using this demo?

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 d54b82e150e1eb71574ab9f596b4c8605acc7251. Additionally Emscripten 1.37.35, jQuery 3.3.1 and Bootstrap 4.1 are used. Source code to all of these components is available at the linked web sites.