use of com.joliciel.jochre.letterGuesser.LetterGuesserContext in project jochre by urieli.
the class LetterFeatureTester method testFeatures.
void testFeatures(ShapeInSequence shapeInSequence, Set<LetterFeature<?>> features) {
LetterSequence history = null;
LetterGuesserContext context = new LetterGuesserContext(shapeInSequence, history);
for (LetterFeature<?> feature : features) {
RuntimeEnvironment env = new RuntimeEnvironment();
feature.check(context, env);
}
}
Aggregations