A method and apparatus for expediting the searching of a CAM array to obtain a
matching or near-matching word is disclosed. In those cases where no word matches
any of the words contained within the CAM array, a word that "almost" matches can
be quickly found.