code: public final void finishTransliteration(Replaceable text,
                                              Position index) {
          index.validate(text.length());
          filteredTransliterate(text, index, false, true);
      }
docs: Finishes any pending transliterations that were waiting for
  more characters.  Clients should call this method as the last
  call after a sequence of one or more calls to
  <code>transliterate()</code>.
  @param text the buffer holding transliterated and
  untransliterated text.
  @param index the array of indices previously passed to {@link
  #transliterate}