private static Sentence wordify(List wList) { Sentence s = new Sentence(); for (Object obj : wList) { s.add(new Word(obj.toString())); } return s; }
private static Sentence addLast(Sentence s) { Sentence s2 = new Sentence(s); // s2.add(new StringLabel(Lexicon.BOUNDARY)); s2.add(new Word(Lexicon.BOUNDARY)); return s2; }