Filosoft / vabamorf

Eesti keele morfanalüsaator
Other
24 stars 14 forks source link

Better error message for missing default dictionary file #10

Open kristiank opened 10 years ago

kristiank commented 10 years ago

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!"

Kaljurand commented 10 years ago

+1 I've also found this behaviour confusing.

alumae commented 9 years ago

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