NAME

split.pl


SYNOPSIS

This program randomly splits a file in mm format into a training and test files.


USGAE

split.pl [OPTIONS] DESTINATION SOURCE


INPUT

Required Arguments:

DESTINATION

The PREFIX for the test and training files. The training file will be labeled DESTINATION.train and the test file will be labeled DESTINATION.test

SOURCE

The mm formated file to be split into training and test.

Optional Arguments:

--split NUMBER

This indicates what percentage of the file in test. Default: 10.

For example: --split 10

    This will put 10% of the file into the DESTINATION.test file 
    and the remaining 90% into the DESTINATION.train file

--help

Displays the summary of command line options.

--version

Displays the version information.


OUTPUT

This program output two files: i) DESTINATION.test and ii) DESTINATION.train. Each file is in .mm format and can be used by the disambiguate.pl program.


AUTHOR

Bridget McInnes, University of Minnesota, Twin Cities


COPYRIGHT

Copyright (c) 2007-2008,

 Ted Pedersen, University of Minnesota, Duluth.
 tpederse at umn.edu
 Bridget McInnes, University of Minnesota, Twin Cities
 bthomson at cs.umn.edu

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to

 The Free Software Foundation, Inc.,
 59 Temple Place - Suite 330,
 Boston, MA  02111-1307, USA.