[cpp] add penultimate word
[cpp] add capitalize words