/** * <summary>Calculates NGram probabilities given {@link SimpleSmoothing} simple smoothing and level.</summary> * * <param name="simpleSmoothing">{@link SimpleSmoothing}</param> * <param name="level">Level for which N-Gram probabilities will be set.</param> * */ public void CalculateNGramProbabilities(SimpleSmoothing <TSymbol> simpleSmoothing, int level) { simpleSmoothing.SetProbabilities(this, level); }
/** * <summary>Calculates NGram probabilities using {@link SimpleSmoothing} simple smoothing.</summary> * * <param name="simpleSmoothing">{@link SimpleSmoothing}</param> */ public void CalculateNGramProbabilities(SimpleSmoothing <TSymbol> simpleSmoothing) { simpleSmoothing.SetProbabilities(this); }