Filosoft/vabamorf

Better error message for missing default dictionary file

Opened this issue · 2 comments

After making the etana project I try to run the program:

$ ./etana analyze -in ../vc2010/etana/test.json
Internal error

If I copy the dictionary file $ cp ../../../../dct/et.dct et.dct

the error disappears.

I think the error message could instead be better formulated as "Missing default lexicon file (et.dct)".

Similarly, if specifying a non-existant lexicon file, the corresponding error message could be formulated as "Specified lexicon file does not exist!"

+1 I've also found this behaviour confusing.

Testing new features of vabamorf and struggled with the same problem for a while. The readme.txt in etana directory doesn't help either.