[voikko] Merkkijono "xl-" kaataa vfst-morfologian Java-version

Hannu Väisänen Hannu.Vaisanen at uef.fi
Fri Jan 9 11:17:05 EET 2015


Java ohjelma:

      final String HOME = System.getProperty ("user.home");
      final String VOIKKO_PATH = HOME + "/vvfst/voikkodict";
      final String LIBVOIKKO = HOME + "/vvfst/lib/libvoikko.so";

      System.load (LIBVOIKKO);
      Voikko voikko = new Voikko ("fi", VOIKKO_PATH);

      List<Analysis> list = voikko.analyze ("xl-");



Debuggeri sanoo

#13 <signal handler called>
#14 libvoikko::morphology::createDefaultStructure
(charsMissing=18446744073709540044,
charsMissing at entry=18446744073709551614, 
    defaultTitleCase=@0x7ff90de2bd27: false,
structure=structure at entry=0x7ff9041fdb20 L"=jjpp-", 'p' <repeats 194
times>..., 
    structurePos=@0x7ff90de2bd28: 11577, isAbbr=false) at
morphology/VfstAnalyzer.cpp:151
---Type <return> to continue, or q <return> to quit---
#15 0x00007ff8e68ba1e7 in parseStructure (wlen=3, fstOutput=<optimized
out>) at morphology/VfstAnalyzer.cpp:273
#16 libvoikko::morphology::VfstAnalyzer::analyze (this=0x7ff9041ffdf0,
word=<optimized out>, wlen=3)
    at morphology/VfstAnalyzer.cpp:797
#17 0x00007ff8e689f12d in libvoikko::morphology::voikkoAnalyzeWordUcs4
(options=options at entry=0x7ff9041feba0, 
    word=word at entry=0x7ff9041fdb50 L'p' <repeats 200 times>...) at
morphology/interface.cpp:45
#18 0x00007ff8e689f2a4 in libvoikko::morphology::voikkoAnalyzeWordCstr
(options=0x7ff9041feba0, word=<optimized out>)
    at morphology/interface.cpp:92




More information about the voikko mailing list