Class BatchItem<T extends SequenceElement>

    • Constructor Detail

      • BatchItem

        public BatchItem​(T word,
                         T lastWord,
                         long randomValue,
                         double alpha)
      • BatchItem

        public BatchItem​(T word,
                         int[] windowWords,
                         boolean[] wordStatuses,
                         long randomValue,
                         double alpha,
                         int numLabel)
      • BatchItem

        public BatchItem​(T word,
                         int[] windowWords,
                         boolean[] wordStatuses,
                         long randomValue,
                         double alpha)
    • Method Detail

      • getWord

        public T getWord()
      • setWord

        public void setWord​(T word)
      • getLastWord

        public T getLastWord()
      • setLastWord

        public void setLastWord​(T lastWord)
      • getRandomValue

        public long getRandomValue()
      • getAlpha

        public double getAlpha()
      • setAlpha

        public void setAlpha​(double alpha)
      • getWindowWords

        public int[] getWindowWords()
      • getWordStatuses

        public boolean[] getWordStatuses()
      • getNumLabel

        public int getNumLabel()