DataBag bag = new DefaultDataBag();
Tuple t1 = new Tuple();
t1.appendField(new DataAtom("word"));
t1.appendField(new DataAtom("02"));
t1.appendField(new DataAtom(2));
bag.add(t1);
Tuple t2 = new Tuple();
t2.appendField(new DataAtom("word"));
t2.appendField(new DataAtom("05"));