cabocha-ruby
cabocha-ruby is a gem that provides Ruby bindings for CaboCha. It is actually SWIG-generated files.
Usage
require 'cabocha' # or require 'CaboCha'
parser = CaboCha::Parser.new
Install
cabocha-ruby pre-requires CaboCha
. You MUST install them beforehand.
$ gem install cabocha
or, add this into Gemfile
gem "cabocha"
And then execute:
$ bundle
Contributing
- Fork it ( https://github.com/uetchy/cabocha-ruby/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
License
This is based on CaboCha SWIG bindings.