Class LuceneEnglishTokenizer

java.lang.Object
org.omegat.tokenizer.BaseTokenizer
org.omegat.tokenizer.LuceneEnglishTokenizer
All Implemented Interfaces:
ITokenizer

public class LuceneEnglishTokenizer extends BaseTokenizer
The LuceneEnglishTokenizer class provides a tokenization implementation for the English language using Lucene's EnglishAnalyzer. It is integrated as the default tokenizer for the "en" (English) language in OmegaT.

This tokenizer can handle stop words and word stemming based on the provided configuration flags. It supports tokenization of text using either Lucene's standard tokenization or with additional analysis features such as stemming and stop word removal.

  • Constructor Details

    • LuceneEnglishTokenizer

      public LuceneEnglishTokenizer()
  • Method Details

    • loadPlugins

      public static void loadPlugins()
      Register plugin into OmegaT.
    • unloadPlugins

      public static void unloadPlugins()