Class DoublePredictionToCompute

  • All Implemented Interfaces:
    java.lang.Comparable<AbstractPredictionToCompute>

    public class DoublePredictionToCompute
    extends AbstractPredictionToCompute
    Represent the prediction for two word in a row.
    Could have been generic (more than two, but for computing performance, limit combination to two word only)
    • Constructor Detail

      • DoublePredictionToCompute

        public DoublePredictionToCompute​(int firstWordId,
                                         int secondWordId,
                                         boolean spaceBetween,
                                         int[] firstPrefix,
                                         int[] secondPrefix,
                                         double factor,
                                         boolean correction,
                                         java.lang.StringBuilder debugInformation)