code: public final AnalyzedSentence replace(AnalyzedSentence sentence) throws IOException {
      DisambiguationPatternRuleReplacer replacer = new DisambiguationPatternRuleReplacer(this);
      return replacer.replace(sentence);
    }
docs: Performs disambiguation on the source sentence.
  @param sentence {@link AnalyzedSentence} Sentence to be disambiguated.
  @return {@link AnalyzedSentence} Disambiguated sentence (might be unchanged).