Hi, just bringing up an issue I've just overcome: while it's clear when*
building* a POS Dictionary that you need an .info file, it is deceptively
less clear that you need an .info file in the same directory with the same
name as your .dict file when *dumping* using DictionaryExporter (ie
xyz/resources/example.dict must be accompanied by xyz/resources/example.info
).

It is not a parameter given in any method call, but if it is missing you
will be greeted by this vague commentary from Morfologik functionality,
before the code exits leaving an empty dump file:

*Warning: FSA automaton without metadata file.*
*No dictionary metadata available.*

If you don't already know what you're looking for, you won't know what
you're missing. It is mentioned indirectly here:
http://wiki.languagetool.org/developing-a-tagger-dictionary#toc5
However, at first sight this seemed to refer to POSDictionaryBuilder (since
it is part of several necessary function calls).

I felt this was worth bringing up for at least some documentation
touch-ups, but wasn't sure whether this is necessarily a Morfologik or a
LT-implementation of Morfologik issue, so thought I'd raise it here first
for thoughts.
------------------------------------------------------------------------------
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to