check if there were unrecognized chatacters in files "sample.grammar" and "sample.voca" by type "vi *" uder linux.
I've got the same problems.But now solved.