public class PartOfSpeech {
public static void main(String[] args) throws IOException {
// read in the data.
ArrayList<SequenceInstance> allData = (new PartOfSpeechReader(
new Alphabet(), new Alphabet())).readFile(args[0]);
StaticUtils.shuffle(allData, 0);
// randomly split data into training and testing part
ArrayList<SequenceInstance>[] tmp = StaticUtils.splitS(allData, 150);
ArrayList<SequenceInstance> train = tmp[0];