Class AIndex

  • Direct Known Subclasses:
    MemoryIndex

    public abstract class AIndex
    extends Object
    Implements the Index interface.
    Version:
    1.0
    Author:
    Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
    • Constructor Detail

      • AIndex

        public AIndex()
    • Method Detail

      • preIndex

        public abstract void preIndex()
        Stores all necessary information into memory
      • init

        public abstract void init​(boolean f)
        Initiliazes the Index instance
      • close

        public abstract void close()
        Closes the Index instance
      • getHypernymPaths

        public abstract ArrayList<ArrayList<edu.mit.jwi.item.ISynsetID>> getHypernymPaths​(edu.mit.jwi.item.ISynset synset)
        Retrieves all hypernym paths of a synset from memory
        Parameters:
        synset - , the input synset
        Returns:
        a list of all hypernym paths