Documentation of 'cc.mallet.types.AlphabetFactory' Java class
AlphabetFactory
cc.mallet.types

Class AlphabetFactory



  • public class AlphabetFactory
    extends java.lang.Object
    • Constructor Detail

      • AlphabetFactory

        public AlphabetFactory()
    • Method Detail

      • alphabetOfSize

        public static Alphabet alphabetOfSize(int n)
        Create a dummy alphabet with n dimensions
      • labelAlphabetOfSize

        public static LabelAlphabet labelAlphabetOfSize(int n)
        Create a dummy label alphabet with n dimensions
      • loadFromFile

        public static Alphabet loadFromFile(java.io.File alphabetFile)
                                     throws java.io.IOException
        Load an alphabet from a file, one item per line
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.