All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.readytalk.swt.text.tokenizer.TextTokenizer Maven / Gradle / Ivy

There is a newer version: 3.0.17
Show newest version
package com.readytalk.swt.text.tokenizer;

import java.util.List;

/**
 * TextTokenizer is an interface to be implemented by text tokenizers wanting
 * to be constructed by the TextTokenizerFactory.
 */
public interface TextTokenizer {

  /**
   * Reset the tokenizer to its deafult state.
   */
  TextTokenizer reset();

  /**
   * Tokenize the given text and return a reference to the internal
   * token list.
   */
  List tokenize(String text);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy