Created by: gmcather
The call of infer function miss the "word_dict" parameter, please merge the code.