Re: [Hebmorph-thinktank] classpath and hspell-data-files?
Status: Pre-Alpha
Brought to you by:
synhershko
|
From: Itamar Syn-H. <it...@co...> - 2013-04-22 08:00:20
|
Wherever. Use Loader.loadDictionaryFromHSpellData(new File(somePath + "hspell-data-files"), true); to load the radix once to a static instance, and create MorphAnalyzer instances passing them the radix, thats the easiest way of working with it. On Mon, Apr 22, 2013 at 2:00 AM, Efraim Feinstein < efr...@gm...> wrote: > Hi, > > > On 04/21/2013 12:58 PM, Itamar Syn-Hershko wrote: > > I'm loading the hspell files from the file system and never loaded them > from the jar so I might have broke the code path that worked with it. You > are welcome to fix it and send a pull request, I'm afraid I won't have time > to investigate this myself in the near future. > > > I'm not attached to using a Jar. I'll ask a simpler question: where are > the hspell-data-files expected to be for the code to function as-is? Simply > dropping the directory into the same dir as the code doesn't do it. Do I > need to add the directory to the classpath manually? > > Thanks, > > > -- > --- > Efraim Feinstein > Lead Developer > Open Siddur Projecthttp://opensiddur.nethttp://wiki.jewishliturgy.org > > |