add the function to change the doc term to word freq corpus, but mi cal is not correct modified