Itamae::Plugin::Recipe::YkMecab
Itamae plugin to install mecab
mecab version : 0.994
mecab dictionarys
- IPA
- hatena
- wikipedia
Installation
This gem is required Ruby.
Add this line to your application's Gemfile:
gem 'itamae-plugin-recipe-yk_mecab'
And then execute:
$ bundle
Or install it yourself as:
$ gem install itamae-plugin-recipe-yk_mecab
Usage
install for system
# recipe.rb
include_recipe "yk_mecab::install"
node.yml
# for example
home_dir: '/home/ec2-user/'
mecab:
user: 'vagrant'
hatena: '1' # If you need hatena dictionary.
wikipedia: '' # If you don't need wikipedia dictionary.
command
$ mecab -u custom.dic