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