conf.set(CollocMapper.MAX_SHINGLE_SIZE, "2");
conf.setBoolean(CollocDriver.EMIT_UNIGRAMS, true);
EasyMock.expect(context.getConfiguration()).andReturn(conf);
for (String[] v : values) {
Type p = v[0].startsWith("h") ? Gram.Type.HEAD : Gram.Type.TAIL;
p = v[0].startsWith("u") ? Gram.Type.UNIGRAM : p;
int frequency = 1;
if (v[1].equals("of times") || v[1].equals("of") || v[1].equals("times")
|| v[1].equals("the")) {
frequency = 2;