Skip to content
Browse files

Add usage of mecab-syllable-count in readme

  • Loading branch information...
1 parent e8fa9e6 commit c607fa148710af4a60c55954b4ba590d843c5b8b @myokoym committed Oct 7, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -20,11 +20,17 @@ Or install it yourself as:
## Usage
+### source code
+
require 'MeCab'
require 'mecab-syllable'
p MeCab::Syllable.new("今日は雨").count #=> 5
+### command line
+
+ $ mecab-syllable-count 今日は雨 #=> 5
+
## Contributing
1. Fork it

0 comments on commit c607fa1

Please sign in to comment.
Something went wrong with that request. Please try again.