IP Library Granted Patent US 7,210,136
Granted Patent B2
US 7,210,136 · App. 10/365,747 · Granted Apr 24, 2007

Parser generation based on example document

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,210,136
App. No.
10/365,747
Granted
Apr 24, 2007
Kind
B2
Abstract

The process generates a parser to extract records from a set of documents. The process operates on a sample document from the set. The sample document is an XML document or is converted to an XML document. Simple Xpaths of the XML document are identified. Complex extensions of the simple Xpath are clustered according to common substructures. The complex Xpath clusters are scored according to content in instances or differences in content among instances. Candidate parsers are created. Each candidate consists of a single record Xpath and one or more field value Xpaths that are descendents of the record Xpath. The candidate parsers are ranked using the Xpath scores.

Claims (26)

1. A method for making a parser for use in extracting record data from a set of XML documents with similar structure, the method comprising the steps of:

a. identifying simple XPaths in a sample document;

b. forming complex XPaths and clustering the complex XPaths by common substructure;

c. scoring simple XPaths based on content in instances or differences in content among instances;

d. scoring complex XPaths based on content in instances or differences in content among instances;

e. forming candidate parsers, with each parser comprising a single record XPath that identifies records and one or more field XPaths that identify fields;

f. scoring the candidate parsers, with each candidate parser score based on the scores of the field XPaths, a number of records identified in the sample document by the record XPath, and structural similarity between records; and

g. ordering the candidate parsers according to the scores.

2. The method of claim 1 , wherein the scoring of XPaths further comprises the step of:

a. scoring XPaths based on a combination of structural similarity among XML substructures over nodes referenced by the candidate record XPath and content-based scores for the XML substructures.

3. A method of producing a parser for a set of documents with similar structure, the method comprising the steps of:

a. using a sample document from the set as input;

b. producing multiple candidate parsers based on the sample document;

c. a user choosing one or more of the candidate parsers and observing their output or outputs on the sample document; and

d. a user selecting a candidate parser of the chosen candidate parsers.

4. The method of claim 3 , further comprising the step of:

a. a user altering the selected parser.

5. The method of claim 3 , further comprising the step of:

a. converting the sample document to XML before producing the multiple candidate parsers.

6. The method of claim 1 further comprising the steps of:

a user choosing one or more of the candidate parsers and observing their output or outputs on the sample document; and

a user selecting a candidate parser of the chosen candidate parsers.

7. The method of claim 6 further comprising the step of:

a user altering the selected parser.

8. The method of claim 6 further comprising the step of:

converting the sample document to XML before forming the candidate parsers.

Assignments (10)
RELEASE OF SECURITY INTEREST Recorded Jan 9, 2018
From: CITICORP USA, INC.
To: AVAYA, INC.; SIERRA HOLDINGS CORP.; AVAYA TECHNOLOGY, LLC; OCTEL COMMUNICATIONS LLC; VPNET TECHNOLOGIES, INC.
Reel/Frame 045032/0213 →
MERGER Recorded Oct 20, 2015
From: XILUNIUM CAPITAL AG, L.L.C.
To: TAMIRAS PER PTE. LTD., LLC
Reel/Frame 036837/0751 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 3, 2014
From: AVAYA, INC.
To: XILUNIUM CAPITAL AG, L.L.C.
Reel/Frame 034088/0381 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2010
From: CITICORP USA, INC.
To: AVAYA INC.
Reel/Frame 024964/0889 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2010
From: CITIBANK, N.A.
To: AVAYA INC.
Reel/Frame 024964/0895 →
SECURITY AGREEMENT Recorded Nov 28, 2007
From: AVAYA, INC.; AVAYA TECHNOLOGY LLC; OCTEL COMMUNICATIONS LLC; VPNET TECHNOLOGIES, INC.
To: CITICORP USA, INC., AS ADMINISTRATIVE AGENT
Reel/Frame 020166/0705 →
SECURITY AGREEMENT Recorded Nov 27, 2007
From: AVAYA, INC.; AVAYA TECHNOLOGY LLC; OCTEL COMMUNICATIONS LLC; VPNET TECHNOLOGIES, INC.
To: CITIBANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 020156/0149 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 6, 2006
From: ISPHERES CORPORATION
To: IS2006 ASSIGNMENT FBO CREDITORS, LLC
Reel/Frame 018259/0568 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 6, 2006
From: IS2006 ASSIGNMENT FBO CREDITORS, LLC
To: AVAYA INC.
Reel/Frame 018259/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 1, 2003
From: SWETT, IAN
To: ISPHERES CORPORATION
Reel/Frame 014338/0195 →