f(w1,w2) return 1 if w1 is contained in w2 return 1 if w2 is contained in w1 return edit_distance(w1,w2)/length(w2) < 0.34 ? 1 : 0