public void addMatch(EdictMatchWithType match, InflectionState inf, double score) { this.matches.Add(Tuple.Create(match, inf, score)); this.matches.Sort(sortByDescendingScore); }
public WordParseResult(string originalText, EdictMatchWithType match, InflectionState inf, double score) { this.originalText = originalText; this.addMatch(match, inf, score); }