private static void labelTestSet(POSTagger posTagger,
			List<TaggedSentence> testSentences, String path) throws Exception {
	BufferedWriter writer = new BufferedWriter(new FileWriter(path));
    for (TaggedSentence sentence : testSentences) {
        List<String> words = sentence.getWords();
        List<String> guessedTags = posTagger.tag(words);
        for (int i = 0; i < words.size(); i++) {
        	writer.write(words.get(i) + "\t" + guessedTags.get(i) + "\n");
        }
        writer.write("\n");
    }
    writer.close();
  }