[Modified] add a dp for punctuation