update validate
Merge pull request #12 from DoanhPHAM/dev_28112014

implement category/word