# US 2007/0214100 A1 · Knowledge extraction and abstraction

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2007/0214100 A1
- Document ID: US20070214100A1
- Status: Published application
- Kind: A1
- Application number: 11/684,581
- Filed: 2007-03-09
- Published: 2007-09-13
- Earliest claimed: 2006-03-09
- Assignees: EvolveWare, Inc.
- Inventors: Miten Marfatia; Ajay Rambhia
- Web page: https://patentgrep.com/patent/US20070214100A1

## CPC

- G06F 8/74: Reverse engineering; Extracting design information from source code
- G06F 8/51: Source to source
- G06F 8/73: Program documentation
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 5/048: Fuzzy inferencing
- G06Q 10/06: Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q 10/087: Inventory or stock management, e.g. order filling, procurement or balancing against orders
- G06Q 10/10: Office automation; Time management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

The present disclosure includes a system and method for learning (or discovering and extracting) business knowledge from a collection of source code. The collection of source code is abstracted to generate an abstracted data stream, which is then transformed to an Extensible Markup Language (XML) format. The transformed data in XML format can be further converted to target formats or processed to satisfy different needs such as software system documentation, migration, impact analysis and security analysis. The disclosure also includes an implementation and operation for a pattern abstraction engine configured to receive an input data stream and format it for abstraction into a standard format using a pattern matching mechanism. The disclosure also includes an implementation and operation for a contextual pattern decoder engine configured to extract knowledge attributes and contextual taxonomy from classified blocks of an input data stream.

## Claims

### Claim 1

A method for extracting and abstracting knowledge embedded in an input data stream, comprising:
receiving an input data stream;
extracting a knowledge element in the input data stream using a first pattern matching at least a part of the input data stream;
identifying a context attribute in the input data stream using a second pattern matching at least a part of the input data stream;
marking the knowledge element and the context attribute in an abstracted data stream;
classifying the knowledge element as a data entity or a business rule using the context attribute and a third pattern matching at least a part of the abstracted data stream; and
outputting the abstracted data stream.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
standardizing the input data stream by removing unreadable characters from the input data stream.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
verifying the marking of the context attribute in the abstracted data stream.

### Claim 4 (depends on 1)

The method of claim 1, wherein identifying the context attribute further comprises identifying a block in the input data stream using a fourth pattern matching at least a part of the input data stream, and wherein marking the knowledge element and the context attribute further comprises marking the block in the abstracted data stream.

### Claim 5 (depends on 1)

The method of claim 1, wherein each of the first, second, and third patterns comprises a predefined pattern or a dynamic pattern.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
subdividing the knowledge element using a fourth pattern matching at least a part of the abstract data stream;
marking the knowledge element with context information in the abstract data stream; and
classifying the knowledge element in the abstract data stream as a business rule using the context information and a fifth pattern.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
presenting knowledge in the abstracted data stream in one of a plurality of formats, comprising: text, XML, graphic, one or more program language or pseudo program language.

### Claim 8 (depends on 6)

The method of claim 6, wherein each of the fourth and fifth patterns comprises a predefined pattern or a dynamic pattern.

### Claim 9 (depends on 1)

The method of claim 1, wherein the abstracted data stream is an output data stream in a XML format.

### Claim 10 (depends on 9)

The method of claim 9, wherein the output data stream in the XML format is displayable as at least one of a graphic flow diagram, pseudo code, and text.

### Claim 11

A system for extracting and abstracting knowledge embedded in an input data stream, comprising:
a contextual taxonomy store segment configured to store patterns;
a pattern abstraction engine configured to receive the input data stream;
a pattern conversion engine configured to extract a knowledge element in the input data stream using a first pattern matching at least a part of the input data stream, and to mark the knowledge element in an abstracted data stream;
a contextual pattern decoder engine configured to identify a context attribute in the input data stream using a second pattern matching at least a part of the input data stream, to mark the context attribute in the abstracted data stream, and to output the abstracted data stream; and
a pattern classification engine configured to classify the knowledge element as a data entity or a business rule using the context attribute and a third pattern matching at least a part of the abstracted data stream.

### Claim 12 (depends on 11)

The system of claim 11, wherein the pattern abstraction engine is further configured to standardize the input data stream by removing unreadable characters from the input data stream.

### Claim 13 (depends on 11)

The system of claim 11, wherein the contextual pattern decoder engine is further configured to verify the contextual markings in the abstracted data stream.

### Claim 14 (depends on 11)

The system of claim 11, wherein the pattern classification engine is further configured to identify a block in the input data stream using a fourth pattern matching at least a part of the input data stream, and to mark the block in the abstracted data stream.

### Claim 15 (depends on 11)

The system of claim 11, further comprising:
a pattern hatcher engine configured to hatch a dynamic pattern when no predefined pattern match a part of a data stream; and
a pattern filtering engine configured to determine whether to store the dynamic pattern in the contextual taxonomy store segment,
wherein each of the first, second, and third patterns comprises a predefined pattern or a dynamic pattern.

### Claim 16 (depends on 11)

The system of claim 11, wherein the contextual pattern decoder engine is further configured to subdivide the knowledge element using a fourth pattern matching at least a part of the abstract data stream, to mark the knowledge element with context information in the abstract data stream, and
wherein the pattern classification engine is further configured to classify the knowledge element in the abstract data stream as a business rule using the context information and a fifth pattern.

### Claim 17 (depends on 16)

The system of claim 16, wherein knowledge in the abstracted data stream can be presented in one of a plurality of formats, comprising: text, XML, graphic, one or more program language or pseudo program language.

### Claim 18 (depends on 16)

The system of claim 16, wherein each of the fourth and fifth patterns comprises a predefined pattern or a dynamic pattern.

### Claim 19 (depends on 11)

The system of claim 11, wherein the abstracted data stream is an output data stream in a XML format.

### Claim 20 (depends on 19)

The system of claim 19, wherein the output data stream in the XML format is displayable as at least one of a graphic flow diagram, pseudo code, and text.

### Claim 21

A computer readable medium structured to store instructions executable by the processor to extract and abstract knowledge embedded in an input data stream, the instructions when executed by the processor cause the processor to:
receive an input data stream;
extract a knowledge element in the input data stream using a first pattern matching at least a part of the input data stream;
identify a context attribute in the input data stream using a second pattern matching at least a part of the input data stream;
mark the knowledge element and the context attribute in an abstracted data stream;
classify the knowledge element as a data entity or a business rule using the context attribute and a third pattern matching at least a part of the abstracted data stream; and
output the abstracted data stream.

### Claim 22 (depends on 21)

The computer readable medium of claim 21, wherein the instructions when executed by the processor further cause the processor to:
standardize the input data stream by removing unreadable characters from the input data stream.

### Claim 23 (depends on 21)

The computer readable medium of claim 21, wherein the instructions when executed by the processor further cause the processor to:
verify the marking of the context attribute in the abstracted data stream.

### Claim 24 (depends on 21)

The computer readable medium of claim 21, wherein identify the context attribute further comprises identify a block in the input data stream using a fourth pattern matching at least a part of the input data stream, and wherein mark the knowledge element and the context attribute further comprises mark the block in the abstracted data stream.

### Claim 25 (depends on 21)

The computer readable medium of claim 21, wherein each of the first, second, and third patterns comprises a predefined pattern or a dynamic pattern.

### Claim 26 (depends on 21)

The computer readable medium of claim 21, wherein the instructions when executed by the processor further cause the processor to:
subdivide the knowledge element using a fourth pattern matching at least a part of the abstract data stream;
mark the knowledge element with context information in the abstract data stream; and
classify the knowledge element in the abstract data stream as a business rule using the context information and a fifth pattern.

### Claim 27 (depends on 26)

The computer readable medium of claim 26, wherein the instructions when executed by the processor further cause the processor to:
present knowledge in the abstracted data stream in one of a plurality of formats, comprising: text, XML, graphic, one or more program language or pseudo program language.

### Claim 28 (depends on 26)

The computer readable medium of claim 26, wherein each of the fourth and fifth patterns comprises a predefined pattern or a dynamic pattern.

### Claim 29 (depends on 21)

The computer readable medium of claim 21, wherein the abstracted data stream is an output data stream in a XML format.

### Claim 30 (depends on 29)

The computer readable medium of claim 29, wherein the output data stream in the XML format is displayable as at least one of a graphic flow diagram, pseudo code, and text.
