Class DirectConfirmationBasedVectorCreator

  • All Implemented Interfaces:
    VectorCreator

    public class DirectConfirmationBasedVectorCreator
    extends AbstractVectorCreator
    This vector creator uses a direct confirmation measure to create the vectors.
    Author:
    m.roeder
    • Method Detail

      • getVectorCreatorName

        public String getVectorCreatorName()
        Description copied from interface: VectorCreator
        Returns the name of the direct confirmation measure which is used to create the vectors.
        Returns:
      • createVectors

        public SubsetVectors createVectors​(int wordsetLength,
                                           SegmentationDefinition definition,
                                           SubsetProbabilities oneOneAndSelfProbabilities,
                                           SubsetProbabilities probabilities)
        Creates the vectors for a single wordset.
        Parameters:
        wordsetLength - the length of the wordset
        definition - the definition of the segmentations that will be copied into the created subset vector definition
        oneOneAndSelfProbabilities - this probabilities instance should contain the segmentation of the OneOneAndSelf class for the given word set. Note that although it is a probabilities instance probabilities instance, its probabilities will be internally overridden with the next probabilities parameter. Note this parameter is mainly used to reuse the generated OneOneAndSelf segmentation for a given set of wordsets.
        probabilities - the probabilities for the given word set.
        Returns:
        subset vectors that comprise the vectors for the given wordset length based on the given probabilities and the direct confirmation measure of this class (calculation). The subset vector instance will also contain the given segmentation information as well as the given probabilities.
      • setGamma

        public void setGamma​(double gamma)
      • getGamma

        public double getGamma()