a) you already have a list of keywords and keyphrases, and you want to examine any possible text document for the existence of such..
b) you have a predefined list of test text documents, and you want to find what the keyphrases are between them- that they share in common or something else.