×

Morphological search and replace

  • US 5,873,660 A
  • Filed: 06/19/1995
  • Issued: 02/23/1999
  • Est. Priority Date: 06/19/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. In a word processor for a computer system, a method of finding and replacing forms of a find word with forms of a replace word in a text document, the method comprising:

  • storing a plurality of word form sets in a word forms database, each word form set comprising a plurality of word forms having a same word base, each word form being associated with at least one part-of-speech identifier;

    searching the word forms database for any word form sets that contain a word form matching the find word, and for any word form sets that contain a word form matching the replace word;

    in a case where multiple word form sets each contain a word form matching the find word, selecting a single find word form set out of the multiple word form sets that contain a word form matching the find word;

    in a case where multiple word form sets each contain a word form matching the replace word, selecting a single replace word form set out of the multiple word form sets that contain a word form matching the replace word;

    searching the text document for a target word that matches any word form in the find word form set, the matched word form in the find word form set being a found word form;

    searching the replace word form set for a replacement word form whose associated part-of-speech identifier matches a part-of-speech identifier associated with the found word form; and

    replacing the target word with the replacement word form.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×