You should try to use the DictionaryBuilder tool:

Usage: opennlp DictionaryBuilder -inputFile in -outputFile out [-encoding
charsetName]

Arguments description:
-inputFile in
 Plain file with one entry per line
-outputFile out
 The dictionary file.
-encoding charsetName
 encoding for reading and writing text, if absent the system default is
used.



On Fri, Jan 13, 2012 at 2:51 PM, tobias <tobias.san...@gmx.de> wrote:

> Hello,
>
> I have a problem o find a template xml for the openNLP
> DictionaryNameFinder dictionary. (I get a InvalidFormatexception while
> parsing the xml dictionary). I had a close look on many web pages
> concerning openNLP but couldn't find any solutions subjected to my
> problem. In the openNLP manual there is no hint as well.
>
> I would be very grateful if anybody of you could give me a tip/hint to
> find a template.
>
> Greetings,
>
> T.Sander
>
>

Reply via email to