예제 #1
0
 /**
  * <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);
 }
예제 #2
0
 /**
  * <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);
 }