Skip to content

googya/pullword

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pullword

A package to use pullword. Written in Crystal.

Installation

Add this to your application's shard.yml:

dependencies:
  pullword:
    github: googya/pullword

Usage

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"]

Development

When developing Crystal project, you may want some debugging tools like irb in Ruby. Luckly, there is one, crystal-icr

Contributing

  1. Fork it ( https://github.com/googya/pullword/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • googya leslie.wen - creator, maintainer

About

A Crystal package for pullword

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published