@Test
public void testShingleExtractor2() {

	String text = "This is a test. let's see if it works, if it works or not.";
	ShingleExtractor shingler = new ShingleExtractor(text);
	shingler.setMaxShingleSize(3);
	Set<String> shingles = new HashSet<String>();
	for (Shingle shingle : shingler) {
		shingles.add(shingle.getText());
	}
	assertTrue(shingles.contains("if it works"));
	assertTrue(shingles.contains("works or not"));
	assertTrue(shingles.contains("this is a"));
	assertFalse(shingles.contains("test. let's"));
}