fixed bug in -s option of mkngram.py