HashMap<ChartItem, String> ret = new HashMap<ChartItem, String>();
BufferedWriter testfile = new BufferedWriter(new FileWriter(
TEST_FILENAME));
int chartitemsize = chartitems.size();
for (int i = 0; i < chartitemsize; i++) {
ChartItem temp = chartitems.get(i);
String sentence = Utils.print(temp.getLemmas(), " ");
testfile.write(sentence);
testfile.newLine();
ret.put(temp, sentence);
}