List<FNLPSent> train = doc.sentences.subList(0, 3000);
List<FNLPSent> test = doc.sentences.subList(3000,doc.sentences.size());
doc.sentences = new LinkedList<FNLPSent>();
doc.sentences.addAll(train);
corpus.writeOne(datapath + "/FNLPDATA/WeiboFTB(v1.0)-train.dat");
System.out.println(corpus.getSentenceNum());
System.out.println(corpus.getAllPOS().size());
doc.sentences = new LinkedList<FNLPSent>();