cadmium_pos_tagger

Version, currently master branch1 version
  • master branchlatestOct 24, 2020

github.com/cadmiumcr/pos_tagger

Part Of Speech Tagger

4 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  cadmium_pos_tagger:
    github: cadmiumcr/pos_tagger
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.35.1
License
MIT
Author
Rémy Marronnier

Dependencies

Runtime Dependencies

Development Dependencies

  • ameba0.12.0github: veelenga/amebadev

README

pos_tagger

A Part Of Speech (POS) Tagger. It relies for now on Cadmium::Classifier::Viterbi.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      cadmium_pos_tagger:
        github: cadmiumcr/pos_tagger
  2. 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

  1. Fork it (https://github.com/your-github-user/pos_tagger/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors