package info.debatty.java.stringsimilarity;
<BUG>public class Cosine extends SetBasedStringSimilarity {
public static void main(String[] args) {</BUG>
Cosine cos = new Cosine(3);
System.out.println(cos.similarity("ABC", "ABCE"));
cos = new Cosine(2);

package info.debatty.java.stringsimilarity;
import info.debatty.java.stringsimilarity.interfaces.NormalizedStringSimilarity;
import info.debatty.java.stringsimilarity.interfaces.NormalizedStringDistance;
public class Cosine extends ShingleBased implements
NormalizedStringDistance, NormalizedStringSimilarity{
public static void main(String[] args) {
Cosine cos = new Cosine(3);
System.out.println(cos.similarity("ABC", "ABCE"));
cos = new Cosine(2);
