class Cadmium::NGrams
- Cadmium::NGrams
- Reference
- Object
Defined in:
cadmium/ngrams.crConstructors
Instance Method Summary
- #bigrams(sequence, start_symbol = nil, end_symbol = nil)
- #ngrams(sequence, n, start_symbol = nil, end_symbol = nil)
- #tokenizer : Cadmium::Tokenizer::Base
- #tokenizer=(tokenizer : Cadmium::Tokenizer::Base)
- #trigrams(sequence, start_symbol = nil, end_symbol = nil)
- #unigrams(sequence, start_symbol = nil, end_symbol = nil)