WordFrequency
WordFrequency is a library for word frequency statistics.
It supports both for Chinese and English.
Requirements
Build Requirements
- yanyiwu/gojieba (for decomposition of words)
Usage
import "github.com/fredgan/WordFrequency"
wordfrequency.WordFrequency(inputFileName, outputFileName, minRuneLen)