19e786a2a74377ff6e052d87fd8d1fa8

highscore - 計算文章關鍵字的 lightweight 工具

xditeGem 節點 中發起
最後由 匿名 於回應 , 432次閱讀

http://thewebdev.de/highscore-a-lightweight-ruby-library-that-finds-and-ranks-keywords-in-a-string/

Features

  • get the top n words
  • blacklist words via a file, array or string
  • default blacklist in the gem
  • merge different Keywords objects (e.g. from different sources)
  • configureable to rank different types of words differently (uppercase, long words, etc.)
  • String has it’s own keywords method that you can use

Roadmap

  • detect the language of a string via “indicator words”
  • define a blacklist file per language (based on language detection)
  • fine grain the default blacklist (just a few words atm)

看起來值得期待

暫無回應。
需要 登入 後方可回應,如果你還沒有帳號按這裡 註冊