Class Compile

java.lang.Object
org.egothor.stemmer.Compile

public class Compile extends Object
The Compile class is used to compile a stemmer table.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static boolean
     
    (package private) static boolean
     
    (package private) static Trie
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    no instantiation
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static void
     
    static void
    main(String[] args)
    Entry point to the Compile application.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • backward

      static boolean backward
    • multi

      static boolean multi
    • trie

      static Trie trie
  • Constructor Details

    • Compile

      private Compile()
      no instantiation
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Entry point to the Compile application.

      This program takes any number of arguments: the first is the name of the desired stemming algorithm to use (a list is available in the package description) , all of the rest should be the path or paths to a file or files containing a stemmer table to compile.

      Parameters:
      args - the command line arguments
      Throws:
      Exception
    • allocTrie

      static void allocTrie()