In this case, if the similarity of a document pair is equal to or greater than 80% and 3 terms are selected from one document, the other document must contain at least one of the 3 terms.
prefix-filter can remove document pairs where one document does not contain any of the 3 terms selected from the other.