Everything about this article screams "amateur." The author appears to be unknowingly reinventing 1960s-era chat bot technology (i.e. Eliza, ) and there are strong indications in this article that his underlying design isn't even that good.
I'd suggest this author to sit down and read the source code of Eliza. Eliza is the best chat bot that can be made without using any sophisticated techniques. It is also completely general; you can program the keywords/responses by editing a DSL.