GitHunt
JO

joppuyo/voikko-node-web-api

Use Voikko over HTTP

Voikko Node Web API

Use Voikko over HTTP

Installing

  1. Clone project
  2. Run npm install
  3. Copy config.sample.js to config.js
  4. Run npm install -g pm2
  5. Run pm2 start index.js

Usage

Analyze

GET /analyze/kerrostalollakin

=>

[ { BASEFORM: 'kerrostalo',
    CLASS: 'nimisana',
    FOCUS: 'kin',
    FSTOUTPUT: '[Ln][Xp]kerros[X]kerro[Sn][Ny]s[Bh][Bc][Ln][Ica][Xp]talo[X]talo[Sade][Ny]lla[Fkin][Ef]kin',
    NUMBER: 'singular',
    POSSIBLE_GEOGRAPHICAL_NAME: 'true',
    SIJAMUOTO: 'ulkoolento',
    STRUCTURE: '=pppppp=pppppppppp',
    WORDBASES: '+kerros(kerros)+talo(talo)' } ]

License

GPL v3 or later

This application uses Voikko library built from commit hash 9449717 using Emscripten. Library has been built using standard Voikko dictionary with commit hash ee00104.

Voikko library located at lib/libvoikko.js is licensed under GNU GPL 2 or later.

Languages

JavaScript100.0%

Contributors

GNU General Public License v3.0
Created June 1, 2018
Updated June 2, 2018
joppuyo/voikko-node-web-api | GitHunt