Search in sources :

Example 1 with UnorderedQueryPairsFeatureExtractor

use of io.anserini.ltr.feature.UnorderedQueryPairsFeatureExtractor in project Anserini by castorini.

the class BigramFeaturesTest method getAllPairsUnOrdered.

private FeatureExtractors getAllPairsUnOrdered() {
    FeatureExtractors chain = new FeatureExtractors();
    chain.add(new UnorderedQueryPairsFeatureExtractor(2));
    chain.add(new UnorderedQueryPairsFeatureExtractor(4));
    chain.add(new UnorderedQueryPairsFeatureExtractor(6));
    return chain;
}
Also used : FeatureExtractors(io.anserini.ltr.feature.FeatureExtractors) UnorderedQueryPairsFeatureExtractor(io.anserini.ltr.feature.UnorderedQueryPairsFeatureExtractor)

Aggregations

FeatureExtractors (io.anserini.ltr.feature.FeatureExtractors)1 UnorderedQueryPairsFeatureExtractor (io.anserini.ltr.feature.UnorderedQueryPairsFeatureExtractor)1