local setting
add term frequency counter
Merge pull request #1 from xiaoyugit/master

update