fix two small but fatal bugs
using PorterStemmer in Max Entropy Model