1. A computer-implemented method for classifying an end-of-line hyphen as either a soft-hyphen that has been inserted into the word for typesetting purposes or a hard-hyphen that belongs in the word, comprising: performing in a computer programmed to perform particular functions pursuant to instructions from program software operations comprising: searching a document for a word that contains an end-of-line hyphen; creating a solution set for the word containing the end-of-line hyphen, wherein each solution in the solution set is obtained by identifying the end-of-line hyphen as either a soft-hyphen that has been inserted into the word for typesetting purposes or a hard-hyphen that belongs in the word, wherein the solution set is stored in memory of a computer system; searching a dictionary for each solution in the solution set; and using the results from the dictionary search to identify the end-of-line hyphen as either a soft-hyphen or a hard-hyphen.