class Cadmium::POSTagger
- Cadmium::POSTagger
- Reference
- Object
Included Modules
- Cadmium::Classifier
- Cadmium::Languages
- Cadmium::Tokenizer
Defined in:
cadmium/pos_tagger/pos_tagger.crConstant Summary
-
DEFAULT_CLASSIFIER =
Viterbi.new
-
DEFAULT_MODEL_PATH =
"/srv/crystaldoc.info/github-rmarronnier-pos_tagger-master/src/cadmium/pos_tagger/data/en/pos.zip"
Constructors
Instance Method Summary
- #classifier : Cadmium::Classifier::Viterbi
- #classifier=(classifier : Cadmium::Classifier::Viterbi)
- #language : Symbol
- #language=(language : Symbol)
- #model : String
- #model=(model : String)
- #tag(tokens : Array(String) | String) : Array(Token)
Instance methods inherited from module Cadmium::Languages
get_language_by_code(code)
get_language_by_code
Constructor Detail
def self.new(classifier : Cadmium::Classifier::Viterbi = DEFAULT_CLASSIFIER, model : String = DEFAULT_MODEL_PATH, language : Symbol = :en)
#