Package org.languagetool
Class ResultCache.MatchesWeigher
- java.lang.Object
-
- org.languagetool.ResultCache.MatchesWeigher
-
- All Implemented Interfaces:
com.google.common.cache.Weigher<InputSentence,java.util.List<RuleMatch>>
- Enclosing class:
- ResultCache
class ResultCache.MatchesWeigher extends java.lang.Object implements com.google.common.cache.Weigher<InputSentence,java.util.List<RuleMatch>>
-
-
Constructor Summary
Constructors Constructor Description MatchesWeigher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
weigh(InputSentence sentence, java.util.List<RuleMatch> matches)
-
-
-
Method Detail
-
weigh
public int weigh(InputSentence sentence, java.util.List<RuleMatch> matches)
- Specified by:
weigh
in interfacecom.google.common.cache.Weigher<InputSentence,java.util.List<RuleMatch>>
-
-