pos_tagger
pos_tagger
A Part Of Speech (POS) Tagger. It relies for now on Cadmium::Classifier::Viterbi
.
Installation
-
Add the dependency to your
shard.yml
:dependencies: cadmium_pos_tagger: github: cadmiumcr/pos_tagger
-
Run
shards install
Usage
require "pos_tagger"
example = "Cadmium is getting better and better."
pp Cadmium::POSTagger.new.tag(example)[2]
# Cadmium::Token(@verbatim="getting", @pos="VBG", @univ_pos=:verb, @morphology=:none, @is_start_sentence=false, @lemma=nil, @is_punctuation=false, @is_oov=false, @language=:en)
Contributing
- Fork it (https://github.com/your-github-user/pos_tagger/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
- Rémy Marronnier - creator and maintainer
Repository
pos_tagger
Owner
Statistic
- 3
- 2
- 0
- 1
- 1
- about 4 years ago
- September 28, 2019
License
MIT License
Links
Synced at
Thu, 21 Nov 2024 23:27:54 GMT
Languages