public abstract class MultipleModelsProcessor extends Object implements SequenceProcessor<MethodCallSequence>
| Constructor and Description |
|---|
MultipleModelsProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract NGram<MethodCall> |
buildNewNGram(String name)
Build a new NGram to use for model inference.
|
Set<NGram<MethodCall>> |
getNGrams()
Returns the NGrams generated for each class.
|
Iterator<NGram<MethodCall>> |
nGrams()
Returns the NGrams generated for each class.
|
void |
process(MethodCallSequence seq)
This method is called by the SequenceBuilder when a sequence has been
built.
|
public void process(MethodCallSequence seq)
SequenceProcessorprocess in interface SequenceProcessor<MethodCallSequence>seq - The built session.public Iterator<NGram<MethodCall>> nGrams()
public Set<NGram<MethodCall>> getNGrams()
protected abstract NGram<MethodCall> buildNewNGram(String name)
name - The name of the new ngram.Copyright © 2014–2018 University of Namur. All rights reserved.