you can create a dictionary of the keywords from document 1 e.g. by creating a bow and converting terms to strings (Bag of words creator -> Term to String). Then use that dictionary to tag the words in document 2 using the Dictionary Tagger. Now the words are labeled and you can filter doc 2 based on that using the Tag Filter. Create a bow to see what's left in doc 2 or use the Document Viewer to see the tagged terms.