Menu

#307 hfst-fst2fst should warn if given both -w and -O

future
open
nobody
1
2015-08-27
2015-08-27
No

I thought -w was weighted and -O was optimised, so I tried

$ hfst-fst2fst -w -O -i sme.automorf.hfst  -o foo.hfst

but got an optimised unweighted hfst out, since -O means "optimised unweighted", not just "optimised".

Maybe there should be a warning if the user passes conflicting arguments, instead of silently overriding previous arguments.

Discussion