Class DictionaryDetokenizer

java.lang.Object
opennlp.tools.tokenize.DictionaryDetokenizer
All Implemented Interfaces:
opennlp.tools.tokenize.Detokenizer

public class DictionaryDetokenizer extends Object implements opennlp.tools.tokenize.Detokenizer
A rule based detokenizer. Simple rules which indicate in which direction a token should be moved are looked up in a dictionary.
See Also:
  • Constructor Details

  • Method Details

    • detokenize

      public opennlp.tools.tokenize.Detokenizer.DetokenizationOperation[] detokenize(String[] tokens)
      Specified by:
      detokenize in interface opennlp.tools.tokenize.Detokenizer
    • detokenize

      public String detokenize(String[] tokens, String splitMarker)
      Specified by:
      detokenize in interface opennlp.tools.tokenize.Detokenizer