×

Method and system for motif extraction in electronic documents

  • US 9,483,463 B2
  • Filed: 09/10/2012
  • Issued: 11/01/2016
  • Est. Priority Date: 09/10/2012
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for extracting one or more text motifs from one or more electronic documents, the method comprising:

  • receiving, by a processor, a first text block from a user, wherein the first text block corresponds to at least one of a largest-maximal repeat (LMR) or a super-maximal repeat (SMR);

    receiving, by the processor via an input device coupled to the processor, an array of repeats, wherein the array of repeats comprises a list of repeats of one or more text blocks occurring at one or more positions in the one or more electronic documents;

    detecting, by the processor, one or more occurrences of the first text block in the one or more electronic documents based on the array of repeats;

    identifying, in the one or more electronic documents by the processor, a second text block in vicinity of an occurrence of the first text block based on a pre-defined set of parameters, such that the second text block and the first text block are repeated together at least two times in the one or more electronic documents, wherein the pre-defined set of parameters comprises a maximum number of text blocks in the one or more text motifs;

    determining, by the processor, the one or more text motifs in the one or more electronic documents, wherein each of the one or more text motifs is a combination of the first text block and the second text block;

    checking, by the processor, for extension of the one or more text motifs if a number of text blocks in the one or more text motifs is less than the maximum number of text blocks in the one or more text motifs, wherein the checking for extension further comprises using the one or more text motifs as a new text block and repeating the identifying and determining steps for the new text block until the maximum number of text blocks is reached;

    extracting, by the processor, the one or more text motifs from each of the one or more electronic documents; and

    creating, by the processor, a template by collating the one or more extracted text motifs.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×