Class AbstractPrincetonFileDictionaryElementFactory

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static MessageLog _log  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Exc createExc​(POS pos, java.lang.String line)
      Create an Exc from a line in an exception file.
      IndexWord createIndexWord​(POS pos, java.lang.String line)
      Creates an IndexWord from a line in an index file.
      Synset createSynset​(POS pos, java.lang.String line)
      Creates a synset from a line in a data file.
      protected Word createWord​(Synset synset, int index, java.lang.String lemma)
      Creates a word, also access the sense.idx file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractPrincetonFileDictionaryElementFactory

        protected AbstractPrincetonFileDictionaryElementFactory()
    • Method Detail

      • createWord

        protected Word createWord​(Synset synset,
                                  int index,
                                  java.lang.String lemma)
        Creates a word, also access the sense.idx file.
        Parameters:
        synset -
        index -
        lemma -
        Returns: