change function of generationkeywords
Merge pull request #167 from YanshuoH/yhuang/improve_generation_keywords

change function of generationkeywords