Aranea::Modules::GenerateNGrams
- Aranea module for generating
ngrams from raw answer candidates
This Aranea modules is meant to be used in conjunction with the
Aranea::Shell
.
This Aranea module generates unigrams, bigrams, trigrams, and
quadgrams from each candidate in the candidate_list
. The original
candidate_list
is then discarded and replaced by the new n-grams.
This module also performs some basic filtering of the candidates,
discarding any that contain certain special symbols; see actual source
code and comments therein for details.