public static final class PhraseSuggestionBuilder.LinearInterpolation extends PhraseSuggestionBuilder.SmoothingModel
See N-Gram Smoothing for details.
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
LinearInterpolation(double trigramLambda,
double bigramLambda,
double unigramLambda)
Creates a linear interpolation smoothing model.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected XContentBuilder |
innerToXContent(XContentBuilder builder,
ToXContent.Params params) |
toXContentpublic LinearInterpolation(double trigramLambda,
double bigramLambda,
double unigramLambda)
trigramLambda - the trigram lambdabigramLambda - the bigram lambdaunigramLambda - the unigram lambdaprotected XContentBuilder innerToXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
Copyright © 2009–2016. All rights reserved.