Documentation of 'cc.mallet.util.BulkLoader' Java class
BulkLoader
cc.mallet.util

Class BulkLoader



  • public class BulkLoader
    extends java.lang.Object
    This class reads through a single file, breaking each line into data and (optional) name and label fields.
    • Constructor Summary

      Constructors 
      Constructor and Description
      BulkLoader() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void generateStoplist(SimpleTokenizer prunedTokenizer)
      Read the data from inputFile, then write all the words that do not occur pruneCount.value times or more to the pruned word file.
      static void main(java.lang.String[] args) 
      static void writeInstanceList(SimpleTokenizer prunedTokenizer) 
      • Methods inherited from class java.lang.Object

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

      • BulkLoader

        public BulkLoader()
    • Method Detail

      • generateStoplist

        public static void generateStoplist(SimpleTokenizer prunedTokenizer)
                                     throws java.io.IOException
        Read the data from inputFile, then write all the words that do not occur pruneCount.value times or more to the pruned word file.
        Parameters:
        prunedTokenizer - the tokenizer that will be used to write instances
        Throws:
        java.io.IOException
      • writeInstanceList

        public static void writeInstanceList(SimpleTokenizer prunedTokenizer)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • main

        public static void main(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.