參看了 https://github.com/awnuxkjy/recommend-system git
對方用了 餘弦 函數實現類似度計算,我則用的是 hanlp+hash 算法(Hash算法總結)github
再看服務器的工做狀況算法