Package org.apache.lucene.search.similarities

Examples of org.apache.lucene.search.similarities.LMJelinekMercerSimilarity


    @Inject
    public LMJelinekMercerSimilarityProvider(@Assisted String name, @Assisted Settings settings) {
        super(name);
        float lambda = settings.getAsFloat("lambda", 0.1f);
        this.similarity = new LMJelinekMercerSimilarity(lambda);
    }
View Full Code Here

TOP

Related Classes of org.apache.lucene.search.similarities.LMJelinekMercerSimilarity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.