use of io.anserini.ltr.feature.OrderedSequentialPairsFeatureExtractor in project Anserini by castorini.
the class BigramFeaturesTest method getMixedChain.
private FeatureExtractors getMixedChain() {
FeatureExtractors chain = new FeatureExtractors();
chain.add(new OrderedSequentialPairsFeatureExtractor(2));
chain.add(new OrderedSequentialPairsFeatureExtractor(4));
chain.add(new OrderedSequentialPairsFeatureExtractor(6));
chain.add(new UnorderedSequentialPairsFeatureExtractor(2));
chain.add(new UnorderedSequentialPairsFeatureExtractor(4));
chain.add(new UnorderedSequentialPairsFeatureExtractor(6));
return chain;
}
use of io.anserini.ltr.feature.OrderedSequentialPairsFeatureExtractor in project Anserini by castorini.
the class BigramFeaturesTest method getOrderedChain.
private FeatureExtractors getOrderedChain() {
FeatureExtractors chain = new FeatureExtractors();
chain.add(new OrderedSequentialPairsFeatureExtractor(2));
chain.add(new OrderedSequentialPairsFeatureExtractor(4));
chain.add(new OrderedSequentialPairsFeatureExtractor(6));
return chain;
}
Aggregations