Re: [Hebmorph-thinktank] classpath and hspell-data-files?
Status: Pre-Alpha
Brought to you by:
synhershko
|
From: Itamar Syn-H. <it...@co...> - 2013-04-21 19:58:58
|
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. On Sun, Apr 21, 2013 at 10:51 PM, Efraim Feinstein < efr...@gm...> wrote: > Hi, > > I recently tried a newer commit of hebmorph than the very old one I had > been using and I'm having issues with the classpath loading of > hspell-data-files. > > As far as I can tell, they used to be included in lucene.hebrew.jar, but > are now not included by default in either the built hebmorph-core or > hebmorph-lucene. I tried making a new jar containing hspell-data-files > and putting it in a directory in the classpath. As far as I can tell, > Loader.java, line 35 now succeeds in finding a URL > > (jar:file:/usr/local/opensiddur/extensions/indexes/lucene/lib/hspell-data-files.jar!/hspell-data-files), > but line 59 fails because both hspellFolder.exists() and > hspellFolder.isDirectory() return False. > > Is there anything special I need to do to make sure the > hspell-data-files can be found? (Note: I'm not usually a Java coder, so > it might be something very simple) > > I am using commit 9298a8c71a62af06cac7a8001066b6387020a6b2 (Jan 9, 2013) > because it is the last one before the change to Lucene 4 and other > dependencies use still use Lucene 3. > > Thanks for any help you can give! > > -- > --- > Efraim Feinstein > Lead Developer > Open Siddur Project > http://opensiddur.net > http://wiki.jewishliturgy.org > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Hebmorph-thinktank mailing list > Heb...@li... > https://lists.sourceforge.net/lists/listinfo/hebmorph-thinktank > |