Class MalletCorpusWrapper

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<cc.mallet.types.Instance>
cc.mallet.types.InstanceList
org.dice_research.topicmodeling.algorithm.mallet.MalletCorpusWrapper
All Implemented Interfaces:
cc.mallet.types.AlphabetCarrying, Serializable, Cloneable, Iterable<cc.mallet.types.Instance>, Collection<cc.mallet.types.Instance>, List<cc.mallet.types.Instance>, RandomAccess, org.dice_research.topicmodeling.algorithms.VocabularyContaining

public class MalletCorpusWrapper extends cc.mallet.types.InstanceList implements org.dice_research.topicmodeling.algorithms.VocabularyContaining
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from class cc.mallet.types.InstanceList

    cc.mallet.types.InstanceList.CrossValidationIterator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static long
     

    Fields inherited from class cc.mallet.types.InstanceList

    TARGET_PROPERTY

    Fields inherited from class java.util.AbstractList

    modCount
  • Constructor Summary

    Constructors
    Constructor
    Description
    MalletCorpusWrapper​(cc.mallet.pipe.Pipe pipe)
     
    MalletCorpusWrapper​(cc.mallet.pipe.Pipe pipe, int capacity)
     
    MalletCorpusWrapper​(cc.mallet.types.Alphabet dataAlphabet, cc.mallet.types.Alphabet targetAlphabet)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.dice_research.topicmodeling.utils.vocabulary.Vocabulary
     

    Methods inherited from class cc.mallet.types.InstanceList

    add, add, add, add, add, addAll, addAll, addThruPipe, addThruPipe, clear, clone, cloneEmpty, cloneEmptyInto, crossValidationIterator, crossValidationIterator, getAlphabet, getAlphabets, getDataAlphabet, getDataClass, getFeatureSelection, getInstanceWeight, getInstanceWeight, getPerLabelFeatureSelection, getPipe, getTargetAlphabet, getTargetClass, hideSomeLabels, hideSomeLabels, load, noisify, remove, remove, removeSources, removeTargets, sampleWithInstanceWeights, sampleWithReplacement, sampleWithWeights, save, set, setFeatureSelection, setInstance, setInstanceWeight, setInstanceWeight, setPerLabelFeatureSelection, setPipe, shallowClone, shuffle, split, split, splitInOrder, splitInOrder, splitInTwoByModulo, subList, subList, targetLabelDistribution, unhideAllLabels

    Methods inherited from class java.util.AbstractCollection

    containsAll, toString

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach

    Methods inherited from interface java.util.List

    containsAll
  • Field Details

  • Constructor Details

    • MalletCorpusWrapper

      public MalletCorpusWrapper(cc.mallet.pipe.Pipe pipe)
    • MalletCorpusWrapper

      public MalletCorpusWrapper(cc.mallet.pipe.Pipe pipe, int capacity)
    • MalletCorpusWrapper

      public MalletCorpusWrapper(cc.mallet.types.Alphabet dataAlphabet, cc.mallet.types.Alphabet targetAlphabet)
  • Method Details

    • getVocabulary

      public org.dice_research.topicmodeling.utils.vocabulary.Vocabulary getVocabulary()
      Specified by:
      getVocabulary in interface org.dice_research.topicmodeling.algorithms.VocabularyContaining