A package to use pullword. Written in Crystal.
Add this to your application's shard.yml
:
dependencies:
pullword:
github: googya/pullword
require "pullword"
Pullword.pullword("湖北大å¦åŸŽå¸‚å¦é™¢æ˜¯ä¸ªå¥½å¦é™¢", 0.6)
# => ["湖北:0.817187", "湖北大å¦:1", "北大:0.727944", "北大å¦åŸŽ:0.959108", "大å¦:0.803232", "大å¦åŸŽ:0.930259", "城市:0.821246", "城市å¦é™¢:0.878604", "å¦é™¢:0.820484", "是个:0.643618", "å¦é™¢:0.93359"]
When developing Crystal project, you may want some debugging tools like irb in Ruby. Luckly, there is one, crystal-icr
- Fork it ( https://github.com/googya/pullword/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- googya leslie.wen - creator, maintainer