Fluent::Plugin::MeCab, a plugin for Fluentd
fluentd plugin for MeCab.
Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-mecab', git: 'git://github.com/katsyoshi/fluent-plugin-mecab.git'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-mecab
Usage
Configuration file:
<match japanese.string>
type mecab
parse_type default # default: default
keys text
tag mecab.parse # defaul: mecab
</match>
TODO
- impliments another mecab parse type, for example: wakati, chasen, and so on.
- gem
Contributing
- Fork it ( http://github.com//fluent-plugin-mecab/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 new Pull Request