public LemmaPosSequence computeTemplate(LanguageInfo info, Interval interval) {
List<LemmaAndPos> res = new ArrayList<>();
for(int i = interval.start; i < interval.end; ++i) {
res.add(new LemmaAndPos(info.lemmaTokens.get(i),info.posTags.get(i)));
}
return new LemmaPosSequence(res);
}