27. The computer program product of claim 26 , the operations further comprising determining a magnitude for each of the identified local term relationships, wherein a magnitude for a respective local term relationship is determined based on at least one of a difference between positions in the document of the pair of terms in the respective local term relationship, and positions in the document of the pair of terms in the respective local term relationship; and wherein selecting at least a subset of the local term relationships in accordance with predefined criteria comprises selecting the subset of the local term relationships based on the magnitudes of the local term relationships.
26. The computer program product of claim 21 , wherein determining relationships among the documents based on the local term relationships comprises: selecting at least a subset of the local term relationships in accordance with predefined criteria; and determining the document relationships using the selected local term relationships.