fixed wordnet db
fixed bug in format_word