cadmium_stemmer
Version, currently master branch1 version
- master branchlatestNov 25, 2019
github.com/cadmiumcr/stemmer
No description declared in shard.yml.
2 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
cadmium_stemmer:
github: cadmiumcr/stemmer
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.30.1- License
- MIT
- Author
- Chris Watson
Dependencies
Runtime Dependencies
- cadmium_util*github: cadmiumcr/utilities
- cadmium_tokenizer*github: cadmiumcr/tokenizer
Development Dependencies
- ameba0.10.0github: veelenga/amebadev
README
stemmer
Currently Cadmium only comes with a Porter Stemmer, but Lancaster will be added soon. Stemmer methods stem and tokenize_and_stem have also been added to the String class to simplify use.
Installation
-
Add the dependency to your
shard.yml:dependencies: cadmium_stemmer: github: cadmiumcr/stemmer -
Run
shards install
Usage
require "cadmium_stemmer"
"words".stem
# => word
"i am waking up to the sounds of chainsaws".tokenize_and_stem
# => ["wake", "sound", "chainsaw"]
Contributing
- Fork it (https://github.com/cadmiumcr/stemmer/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
Contributors
- Chris Watson - creator and maintainer
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
- Nov 25, 2019
- Crystal
0.30.1- Indexed
- yes
Dependents
Repository
github.com/cadmiumcr/stemmer
Metadata
- Created
- Aug 18, 2026
- Updated
- Nov 11, 2026
- Synced
- Nov 6, 2026
- Versions
- 1