Class NearString.Scores

java.lang.Object
org.omegat.core.matching.NearString.Scores
Enclosing class:
NearString

public static class NearString.Scores extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    adjusted similarity score for match including all tokens
    final int
    penalty of the match
    final int
     
    final int
    similarity score for match without non-word tokens
  • Constructor Summary

    Constructors
    Constructor
    Description
    Scores(int score, int scoreNoStem, int adjustedScore)
     
    Scores(int score, int scoreNoStem, int adjustedScore, int penalty)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • score

      public final int score
    • scoreNoStem

      public final int scoreNoStem
      similarity score for match without non-word tokens
    • adjustedScore

      public final int adjustedScore
      adjusted similarity score for match including all tokens
    • penalty

      public final int penalty
      penalty of the match
  • Constructor Details

    • Scores

      public Scores(int score, int scoreNoStem, int adjustedScore)
    • Scores

      public Scores(int score, int scoreNoStem, int adjustedScore, int penalty)
  • Method Details