TF-IDF Library for Go Install go get github.com/gogle/tfidf How to use The test for the Weigher demonstrates exactly how to use it, please have a look on it