import de.tud.kom.stringutils.preprocessing.Preprocess;
public class TEIComparatorShingleCloud extends ShingleCloud {
public TEIComparatorShingleCloud(Document doc, Preprocess preprocessingAlgorithm, int nGramSize, int minimumNumberOfOnes, int minimumNumberOfZeros) {
ShingleList haystack = generateShingleListForDocument(doc, preprocessingAlgorithm, nGramSize);
this.haystackShingles = haystack;
this.nGramSize = haystackShingles.getNGramSize();
this.minimumNumberOfOnesInMatch = minimumNumberOfOnes;
this.maximumNumberOfZerosBetweenMatches = minimumNumberOfZeros;