Patent Abstract:
A method for identifying sections of contracts. This method works well with documents that originated from scanned images, i.e., documents that could possibly include noise and misleading cues.

Full Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
       [0001]    This application is a continuation of pending application Ser. No. 15/242,714 filed Aug. 22, 2016, now U.S. Pat. No. 9,736,331 issued Aug. 15, 2017. Said U.S. Ser. No. 15/242,714 is a continuation of U.S. Ser. No. 14/678,958 filed Apr. 4, 2015, now U.S. Pat. No. 9,424,465 issued Aug. 23, 2016. Said U.S. Ser. No. 14/678,958 is a continuation of application U.S. Ser. No. 13/644,340 filed Oct. 4, 2012 now U.S. Pat. No. 9,001,390 issued Apr. 7, 2015, which in turn claims benefit of provisional application U.S. 61/543,836 filed Oct. 6, 2011. 
     
    
     SUMMARY OF THE INVENTION 
       [0002]    This is a method for identifying sections of documents, especially contracts. This method works well with documents that originated from scanned images, i.e., documents that could possibly include noise and misleading cues. 
         [0003]    Many times a contract is available to us as plain text, with no annotations and no table of contents. For four objectives it would be advantageous to be able to tag the section headings.
   1. The document becomes readable when the section headings are highlighted.   2. The document is comprehensible when the table of contents is laid out upfront.   3. The document is more accessible when the reader can click on the table of contents and reach the desirable section.   4. The document is navigable when the reader can click on “see Section 3.2(b)” and get into the intended section.   
 
         [0008]    A novel and inventive method is presented here for marking up the section markers and the section headers of a document, which method is readily embodied in computerized devices and systems comprising computerized storage, processing and programming embodied on a non-transitory computerized storage medium. 
         [0009]    An example of a “dirty” document in three formats appears below. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0010]    The features of the invention believed to be novel are set forth in the appended claims. The invention, however, together with further objects and advantages thereof, may best be understood by reference to the following description taken in conjunction with the accompanying drawing(s) summarized below. 
           [0011]      FIG. 1  illustrates a sample input document which is unmarked, to be operated on in accordance with the device, system and method of the invention. 
           [0012]      FIG. 2  illustrates the sample input document of  FIG. 1 , after the invention has embedded several tags into the document. 
           [0013]      FIG. 3  illustrates the sample input document of  FIG. 1 , as it is presented to the reader/user after the invention has fully processed the document and identified its sections. 
           [0014]      FIG. 4  illustrates the table of contents which is generated by the invention after the sample input document of  FIG. 1  has been fully processed its sections identified. 
           [0015]      FIG. 5  illustrates the sample input document of  FIG. 1  during its processing, with candidate markers identified. 
       
    
    
     DETAILED DESCRIPTION 
     Example Document 
     I. The Input Unmarked Document 
     Tagging Section Markers and Generating a Table of Contents 
       [0016]    As shown below and in  FIG. 1 , the document is obtained as a string of characters where “end of line” is given as a distinct character (:′( ). Notice that this document includes some spurious characters (14, !, 1). Also notice that the section 1.2 is written as 1.2 due to a typical OCR error. 
         [0000]    - - - 
       :′(Contractor Agreement 
       [0017]    :′(This Contractor Agreement (the “Agreement”) is entered into as of Aug. 1, 2013 (the “Effective Date”) between Isabella, Inc. (“Company”) and the person designated below as “Contractor”.
 
:′(14
 
:′(Section 1. Definitions. As used in this Agreement:
 
:′(1.1 “Confidential Information”. These mean any and all information related to a party&#39;s business, financial data, and proprietary information of three
 
:′((3) parties provided that is (i) labeled or
 
:′(identified as “confidential” or “proprietary”; (ll) that a the receiving party otherwise knows, or would reasonably be expected to know, on August
 
:′(15, 2010 or considers to be confidential or proprietary; or (iii) has a duty to treat as confidential.
 
:′(1
 
:′(!
 
:′(1.2 “Deliverables” These mean the items to be provided by Contractor to Company under this Agreement, including items specifically designated
 
:′(1.3 “Mimsies”. These mean unidentified objects.
 
:′((iv) more stuff, (v) even more. See for example
 
:′(Section 2 below.
 
:′(Section 2. Master Plan. The master plan should be clear while
 
:′(6.1 is too high for our purposes. It should never be verballed or illustrated.
 
- - -
 
       II. The Generated Tagged Document 
       [0018]    Below, and in  FIG. 2 , are shown the embedded tags. Each section bracket indicates the level # (lev) sequence # (seq), and the serial number (sn) of the item. 
         [0000]    - - -
 
&lt;title&gt;CONTRACTOR AGREEMENT&lt;/title&gt;
 
This Contractor Agreement (the “Agreement”) is entered into as of Aug. 1, 2013 (the “Effective Date”) between Isabella, Inc. (“Company”) and the person designated below as “Contractor”.
 
14
 
&lt;section lev=1 seq=1 sn=1&gt;&lt;sn&gt;Section 1.&lt;/sn&gt; Definitions.&lt;/section&gt; As used in this Agreement:
 
&lt;section lev=2 seq=2 sn=1&gt;&lt;sn&gt;1.1&lt;/sn&gt;“Confidential Information”&lt;/section&gt; means any and all information related to a party&#39;s business, financial data, and proprietary information of three (3) parties provided that is &lt;section lev=3 seq=3 sn=1&gt;&lt;sn&gt;(i)&lt;/sn&gt;&lt;/section&gt; labeled or identified as “confidential” or “proprietary”; &lt;section lev=3 seq=3
 
sn=2&gt;&lt;sn&gt;(11)&lt;/sn&gt;&lt;/section&gt; that a the receiving party otherwise knows, on Aug. 15, 2010 or would reasonably be expected to know, or considers to be confidential or proprietary; or &lt;section lev=3 seq=3 sn=3&gt;&lt;sn&gt;(iii)&lt;/sn&gt;&lt;/section&gt; has a duty to treat as confidential.
 
1
 
!
 
&lt;section lev=2 seq=2 sn=2&gt;&lt;sn&gt;1.2&lt;/sn&gt;“Deliverables”&lt;/section&gt; means the items to be provided by Contractor to Company under this Agreement, including items specifically designated
 
&lt;section lev=2 seq=2 sn=3&gt;&lt;sn&gt;1.3 “Mimsies”&lt;/section&gt;. These mean unidentified objects.
 
&lt;section lev=3 seq=4 sn=1&gt;&lt;sn&gt;(iv)&lt;/section&gt; more stuff &lt;section lev=3 seq=4 sn=2&gt;&lt;sn&gt;(v)&lt;/section&gt; even more. See for example Section 2 below.
 
&lt;section lev=1 seq=1 sn=2&gt;&lt;sn&gt;Section 2.&lt;/sn&gt; Master Plan.&lt;/section&gt; The master plan should be clear while
 
6.1 is too high for our purposes. It should never be verballed or illustrated.
 
- - -
 
       III. The Presented Highlighted Document. 
       [0019]    Below and in  FIG. 3  is the document that is presented to the reader. See how the highlighted section headers make reading easy. 
         [0020]    Note that the extraneous numbers, some introduced by OCR errors and some by the text itself, are successfully ignored by the disclosed method. 
         [0021]    Notice that the OCR errors, although accounted for by the method, are not thrown out. This is not the objective of this method. 
         [0000]    - - - 
       Contractor Agreement 
       [0022]    This Contractor Agreement (the “Agreement”) is entered into as of Aug. 1, 2013 (the “Effective Date”) between Isabella, Inc. (“Company”) and the person designated below as “Contractor”.
 
14
 
Section 1. Definitions. As used in this Agreement:
 
1.1 “Confidential Information”. These mean any and all information related to a party&#39;s business, marketing plans, customer and supplier lists, financial data, and proprietary information of
 
(3) three parties provided that is (i) labeled or identified as “confidential” or “proprietary”; (ll) that a the receiving party otherwise knows, on Aug. 15, 2010 or would reasonably be expected to know, or considers to be confidential or proprietary; or (iii) has a duty to treat as confidential.
 
1
 
!
 
1.2 “Deliverables”. These mean the items to be provided by Contractor to Company under this Agreement, including items specifically designated
 
1.3 “Mimsies”. These mean unidentified objects. (iv) more stuff (v) even more. See for example Section 2 below.
 
Section 2. Master Plan. The master plan should be clear while
 
6.1 is too high for our purposes. It should never be verballed or illustrated.
 
         [0023]    In addition, the method generates and presents the user with the following table of contents that corresponds with the section markers identified in the document, set forth below and in  FIG. 4 . 
         [0000]    - - - 
       Section 1. Definitions 
     1.1 Confidential Information 
     1.2 Deliverables 
       [0024]    (i)
 
(ii)
 
(iii)
 
       1.3 Mimsies 
       [0025]    (iv)
 
(v)
 
       Section 2. Master Plan 
       [0026]    - - - 
       3. The Method 
       [0027]    The method which leads to the table of contents shown above comprises six steps:
 
3.1. Identify potential section markers that appear at the beginning of a line.
 
         [0028]    Section markers could come in 3 types (or combinations of the types) as shown below. 
         [0000]    1. letter and number indicators: e.g., (a), B, aa (for the following sequence: x,y,z,aa,bb . . . ), ggg, [c], {xx}, 11., (i), II, VI, 11.2, 23.3.4, I.19(1)(b)—punctuation is universal and parens include [,(,{.
 
2. section indicators (e.g., “Section 3”, “Paragraphs 3.2”, “Appendix 17(a)”, “Article II”)—section headers are given as an input table.
 
3. in-line mini-sections: (i), (ll), (iii), (1), (2), (a), (b), (c), (i), (ii), (iii)—These items are captured even in mid-line. They are not very significant for the reader, however, they must be accounted for the prevent spurious errors (e.g., we can deduce that (iv) above is not a section but an in-line).
 
         [0029]    At this point, to overcome OCR errors (1,l, and i are interchangeable by OCR), we count each one of 1,i, and l in 5 possible types (numeral 1, small letter l or i, small roman l or i). There are some other common substitutions which can be provided as a table. 
         [0030]    In the document below, which is also shown in  FIG. 5 , we highlighted in underlining the candidate markers identified in the document. 
         [0031]    Note that while a person can “see” that “Section 2 below” is a reference and “Section 2. Master Plan” is a legitimate marker, for a computer program this distinction is not trivial. 
         [0000]    - - - 
       Contractor Agreement 
       [0032]    :′(This Contractor Agreement (the “Agreement”) is entered into as of Aug. 1, 2013 (the “Effective Date”) between Isabella, Inc. (“Company”) and the person designated below as “Contractor”.
 
:′(14
 
:′(Section 1. Definitions. As used in this Agreement:
 
:′(1.1 “Confidential Information”. These mean any and all information related to a party&#39;s business, financial data, and proprietary information of three
 
:′((3) parties provided that is (i) labeled or
 
:′(identified as “confidential” or “proprietary”; (ll) that a the receiving party otherwise knows, or would reasonably be expected to know, on August
 
:′(15, 2010 or considers to be confidential or proprietary; or (iii) has a duty to treat as confidential.
 
:′(1
 
:′(!
 
:′(1.2 “Deliverables” These mean the items to be provided by Contractor to Company under this Agreement, including items specifically designated
 
:′(1.3 “Mimsies”. These mean unidentified objects.
 
:′((iv) more stuff, (v) even more. See for example
 
:′(Section 2 below.
 
:′(Section 2. Master Plan. The master plan should be clear
 
:′(6.1 is too high for our purposes. It should never be verballed or illustrated.
 
- - -
 
         [0033]    Here is the list of section markers then extracted into an array: 
         [0000]    1. 14 
       2. Section 1. 
       [0034]    3. 1.1
 
4. (3)
 
5. (i)
 
       6. (II) 
       [0035]    7. 15
 
8. (iii)
 
9. 1
 
10. 1.2
 
11. 1.3
 
12. (iv)
 
13. (v)
 
       14. Section 2 
     15. Section 2. 
       [0036]    16. 6.1 
       3.2. List Similar Types of Potential Section Markers: 
       [0037]    In the example above we next identify four similar marker types: 
         [0000]    1. 14, 15,1 
       2. Section 1., Section 2, Section 2. 
       [0038]    3. 1.1,1.2, 1.3, 6.1—1.2 is interpreted as 1.2
 
4. (3)
 
5. (i), (ll), (iii), (iv),(v)—(ll) is interpreted as (ii)
 
       3.3. Eliminate Section References, Dates, Page Numbers and Other Extraneous Numbers 
       [0039]    We next need to distinguish between references and section markers, and weed out the references. There are three examples of this in the document above:
       “See Section 2 Below”. Obviously “Section 2” here is not a section marker but a section reference and hence it is weeded out.   “Aug. 15, 2010”. Obviously “15” here is not a section marker but a part of a date   “three (3)”. Obviously, “(3)” here is the elaboration of the number “three”.       
 
       3.4. Identify Sequences: 
       [0043]    Based on understanding numbers, letters, roman numerals and their numerical values, we identify four legitimate sequences, and one illegitimate sequence (it&#39;s not good numbering): 
         [0000]    1. illegitimate: 14, 1
 
2. legitimate: Section 1, Section 2
 
103. legitimate: 1.1, 1.2, 1.3
 
4. legitimate: (i), (ll), (iii),(iv), (v)
 
5. legitimate: 6.1
 
         [0044]    Single-item sequences are eliminated unless they are complex ones such as 6.1 which will be tested later on for successful inclusion relations. 
         [0000]    3.5. Identify Structures with Inclusion Relations:
 
Based on the location of the items we have four structures, with the following inclusion relations:
 
1. top sequence: Section 1, Section 2
 
2. inside seq 1, sn 1: 1.1, 1.2, 1.3
 
3. inside seq 2, sn 2: (i), (11), (iii)
 
4. inside seq 2, sn 3: (iv), (v)—although it is a natural continuation of structure number 3, we split it since it has a different inclusion relation (seq2, sn3 vs. seq2, sn2)
 
5. inside seq 1, sn 2: 6.1—illegitimate. It is included under Section 2 so it must start with a 2 (2.1 vs 6.1)
 
       3.6. Generate the Table of Contents 
       [0045]    Based on the relations in Section 3.5 above we can now generate the table of contents: 
       Section 1. Definitions 
     1.1 Confidential Information 
     1.2 Deliverables 
       [0046]    (i)
 
(ii)
 
(iii)
 
       1.3 Mimsies 
       [0047]    (iv)
 
(v)
 
       Section 2. Master Plan 
       [0048]    - - - 
         [0049]    The knowledge possessed by someone of ordinary skill in the art at the time of this disclosure is understood to be part and parcel of this disclosure and is implicitly incorporated by reference herein, even if in the interest of economy express statements about the specific knowledge understood to be possessed by someone of ordinary skill are omitted from this disclosure. While reference may be made in this disclosure to the invention comprising a combination of a plurality of elements, it is also understood that this invention is regarded to comprise combinations which omit or exclude one or more of such elements, even if this omission or exclusion of an element or elements is not expressly stated herein, unless it is expressly stated herein that an element is essential to applicant&#39;s combination and cannot be omitted. It is further understood that the related prior art may include elements from which this invention may be distinguished by negative claim limitations, even without any express statement of such negative limitations herein. It is to be understood, between the positive statements of applicant&#39;s invention expressly stated herein, and the prior art and knowledge of the prior art by those of ordinary skill which is incorporated herein even if not expressly reproduced here for reasons of economy, that any and all such negative claim limitations supported by the prior art are also considered to be within the scope of this disclosure and its associated claims, even absent any express statement herein about any particular negative claim limitations. 
         [0050]    Finally, while only certain preferred features of the invention have been illustrated and described, many modifications, changes and substitutions will occur to those skilled in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the true spirit of the invention.

Technology Classification (CPC): 7