fucoidan
Version, currently master branch1 version
- master branchlatestJun 23, 2016
github.com/lpm11/crystal-fucoidan
crystal-mecab wrapper
1 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
fucoidan:
github: lpm11/crystal-fucoidan
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
Dependencies
Runtime Dependencies
- mecab*github: lpm11/crystal-mecab, branch: master
README
crystal-fucoidan

crystal-mecab wrapper.
Usage
Make Projectfile like this to tell crystal about dependencies.
deps do
github "lpm11/crystal-mecab"
github "lpm11/crystal-fucoidan"
end
Run crystal deps enables us to use basic functions of MeCab in crystal like this.
require "fucoidan"
# Segments sentence into words
f = Fucoidan::Fucoidan.new("-O wakati")
puts(f.parse("すもももももももものうち")) # => すもも も もも も もも の うち
# Segments sentence into nodes
f = Fucoidan::Fucoidan.new("")
f.parse("すもももももももものうち") { |node|
puts("#{node.surface}\t#{node.feature}")
}
# Extract noun words
words = f.enum_parse("すもももももももものうち")
.select { |node| node.feature.starts_with?("名詞") }
.map { |node| node.surface }
puts(words.join(", ")) # => すもも, もも, もも, うち
License
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jun 23, 2016
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/lpm11/crystal-fucoidan
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1