Class Csv2Vectors


  • public class Csv2Vectors
    extends java.lang.Object
    Command line import tool for loading a sequence of instances from a single file, with one instance per line of the input file.

    Despite the name of the class, input data does not have to be comma-separated, and instance data can remain sequences (rather than unordered vectors).

    Author:
    Andrew McCallum mccallum@cs.umass.edu
    • Constructor Summary

      Constructors 
      Constructor Description
      Csv2Vectors()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • defaultLineRegex

        public static java.lang.String defaultLineRegex
      • defaultTokenRegex

        public static java.lang.String defaultTokenRegex
    • Constructor Detail

      • Csv2Vectors

        public Csv2Vectors()
    • Method Detail

      • main

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