fixed a bug in parsing SPMF output and optimized Stanford NLP memory usage