Interface Detokenizer

All Known Implementing Classes:
DictionaryDetokenizer

public interface Detokenizer
A Detokenizer merges tokens back to their detokenized representation.
  • Method Details

    • detokenize

      Detokenizes the collection of tokens.
      Parameters:
      tokens - The elements which should be detokenized.
      Returns:
      The merge operations to handle given tokens.
    • detokenize

      String detokenize(String[] tokens, String splitMarker)
      Detokenizes the input tokens into a String. Tokens which are connected without a whitespace character in between can be separated by a given splitMarker.
      Parameters:
      tokens - The elements which should be concatenated.
      splitMarker - The split marker or null.
      Returns:
      The concatenated tokens as a single string.