T - The kind of sequences supported by the N grampublic interface NGram<T extends SequenceEntry>
UsageModel from a set of
sequences using an ngram inference method. Usage of the class should be:
UsageModel using getModel() method.| Modifier and Type | Method and Description |
|---|---|
void |
addTrace(Sequence<T> seq)
Add a sequence to the ngram.
|
be.vibes.ts.UsageModel |
getModel()
Return the model inferred from the given sequences.
|
String |
getName()
Returns the name of the ngram.
|
String getName()
void addTrace(Sequence<T> seq) throws ModelGenerationException
seq - The sequence to add.ModelGenerationException - If an error happens
during the adding of a sequence to the model.be.vibes.ts.UsageModel getModel()
throws ModelGenerationException
ModelGenerationException - If an error happens
during the adding of a sequence to the model.Copyright © 2014–2018 University of Namur. All rights reserved.