public final AnalyzedSentence replace ( AnalyzedSentence sentence ) throws IOException { DisambiguationPatternRuleReplacer replacer = new DisambiguationPatternRuleReplacer ( this ) ; return replacer . replace ( sentence ) ; }
Performs disambiguation on the source sentence .