Skip to content

mimosa/jieba-jruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jieba for jRuby

Read jieba-analysis(结巴分词) docs for more details: https://github.com/huaban/jieba-analysis

Installing

Add to your Gemfile:

gem 'jieba-jruby'

Then bundle install.

Or install it yourself as:

$ gem install jieba-jruby

Usage

  require 'jieba'

  "Ruby China,对!没错!这里就是 Ruby 社区,目前这里已经是国内最权威的 Ruby 社区,拥有国内所有资深的 Ruby 工程师。".to_tags
  => ["Ruby", "China", "没错", "这里", "就是", "社区", "目前", "已经", "国内", "权威", "拥有", "所有", "资深", "工程师"]

PS. Built and tested on jRuby 1.7.4

About

jieba-analysis(结巴分词) for jRuby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages