add word split and compute word frequence