fix some syntax bug in gen_feature.py
fix gen_feature.py
ummm....
add train_pmi.py