Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception in net.sf.hfst.HfstOptimizedLookup #4

Open
hfst-importer opened this issue Jan 23, 2014 · 1 comment
Open

exception in net.sf.hfst.HfstOptimizedLookup #4

hfst-importer opened this issue Jan 23, 2014 · 1 comment

Comments

@hfst-importer
Copy link

When analyzing words in Portuguese with a small transducer I get the following error:

java net.sf.hfst.HfstOptimizedLookup ~/Documents/DELAF/mini_FST/miniFST.hfst.inverted.ol < input.txt > output.txt
Exception in thread "main" java.lang.NullPointerException
at net.sf.hfst.UnweightedTransducer.analyze(Unknown Source)
at net.sf.hfst.HfstOptimizedLookup.runTransducer(Unknown Source)
at net.sf.hfst.HfstOptimizedLookup.main(Unknown Source)

uname -a
MINGW32_NT-6.1 GREATNLP45 1.0.12(0.46/3/2) 2012-07-05 14:56 i686 unknown

$ java -version
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode, sharing)

The output generated by the lookup tool is correct based on transducer, but the errors prevent the use of the java class in an application, because it suggests it isn't reliable enough.

Reported by: *anonymous

@hfst-importer
Copy link
Author

Version of HFST

No tests selected; printing known data
HFST info version: 0.1
HFST packaging: hfst 3.4.3
HFST version: 3.4.3
HFST long version: 300040003
HFST configuration revision: $Revision: 3003 $
OpenFst supported
SFST supported
foma supported
Unicode support: no (hfst)

Original comment by: *anonymous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants