[libvoikko] Libvoikko 3.7

Harri Pitkänen hatapitk at iki.fi
Mon Nov 25 18:22:01 EET 2013


Libvoikko 3.7rc1 has been released as version 3.7 without changes. Source code 
and release notes are available here: http://voikko.puimula.org/sources.html

Corresponding new release of the Java wrapper that adds support for non-const 
grammar error descriptions is part of this release. It has not been uploaded 
to the Maven Central Repository yet.

Please note that the API for the wrappers (Java, .Net and Python) has changed 
slightly in this release. To do grammar checking you now need to use the 
following (pseudo)code:

  errors = voikko.grammarErrors(textParagraph, errorDescriptionLanguage)
  ...
  firstErrorDescription = errors[0].getShortDescription()

Previously you would have used
  
  errors = voikko.grammarErrors(textParagraph)
  ...
  firstErrorDescription = voikko.grammarErrorExplanation(errors[0].getCode(),
                          errorDescriptionLanguage)


Unlike the C API where both old and new methods will work the wrappers only 
support the latest recommended APIs (which helps keeping them simple to use).

Harri


More information about the Libvoikko mailing list