Class Compile


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

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

      Constructors 
      Modifier Constructor Description
      private Compile()
      no instantiation
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void allocTrie()  
      static void main​(java.lang.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 Detail

      • backward

        static boolean backward
      • multi

        static boolean multi
      • trie

        static Trie trie
    • Constructor Detail

      • Compile

        private Compile()
        no instantiation
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.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:
        java.lang.Exception
      • allocTrie

        static void allocTrie()