use of io.anserini.ltr.feature.UnorderedSequentialPairsFeatureExtractor 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.UnorderedSequentialPairsFeatureExtractor in project Anserini by castorini.
the class BigramFeaturesTest method getUnorderedChain.
private FeatureExtractors getUnorderedChain() {
FeatureExtractors chain = new FeatureExtractors();
chain.add(new UnorderedSequentialPairsFeatureExtractor(2));
chain.add(new UnorderedSequentialPairsFeatureExtractor(4));
chain.add(new UnorderedSequentialPairsFeatureExtractor(6));
return chain;
}
Aggregations