code: private SegmentScoreEntry getBestInflectedScoreEntry(Segment s,
  			CompostInflectionRules rules) {
  		SegmentScoreEntry bestScoreEntry = this.segmentScoreEntries.getUnchecked(s.getSubstring());
  		for(String seg:rules.getInflections(s.getSubstring())) {
  			SegmentScoreEntry scoreEntry = this.segmentScoreEntries.getUnchecked(seg);
  			if(scoreEntry.getScore()>bestScoreEntry.getScore()) 
  				bestScoreEntry = scoreEntry;
  		}
  //		this.segmentScoreEntries.put(s.getSubstring(), bestScoreEntry);
  		return bestScoreEntry;
  	}
docs: /*
  Returns the best score of a segment considering all its possible inflections or transformations.