Method and apparatus for a document parser specification
AssigneeCisco Technology, Inc.
InventorsAndrew Cleasby, Ryan Schuft
Life of this patent
Estimating the term…
Abstract
The present disclosure presents a system for parsing based upon content type, and provides a content-rich set of parsing rules that can be optimized for a wide variety of applications. The present system also recognizes different types of content in addition to text, such as behaviors, and associates rules to parse a wide variety of content.
Claims18
A method of parsing content comprising:
- receiving content to be parsed;
- selecting a parsing object corresponding to said received content, parsing object containing at least one parsing rule having at least one expression;
- generating a top level expression wherein said level expression includes at least one of said at least one expressions;
- applying said top level content to said received content to determine a first best match to said expression from said received content;
- dividing said received content into a plurality of fragments of text, wherein at least one of said plurality of fragments comprise text matching a specific one of said at lease one parsing rule;
- and
- parsing said fragments of said received content according to each said at least one parsing rule in said parsing object.
A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform a method of parsing content, said method comprising:
- receiving content to be parsed;
- selecting a parsing object corresponding to said received content, parsing object containing at least one parsing rule having at least one expression;
- generating a top level expression wherein said level expression includes at least one of said at least one expressions;
- applying said top level content to said received content to determine a first best match to said expression from said received content;
- dividing said received content into a plurality of fragments of text, wherein at least one of said plurality of fragments comprise text matching a specific one of said at lease one parsing rule;
- and
- parsing said fragments of said received content according to each said at least one parsing rule in said parsing object.
An apparatus for parsing content comprising:
- means for receiving content to be parsed;
- means for selecting a parsing object corresponding to said received content, parsing object containing at least one parsing rule having at least one expression;
- means for generating a top level expression wherein said level expression includes at least one of said at least one expressions;
- means for applying said top level content to said received content to determine a first best match to said expression from said received content;
- means for dividing said received content into a plurality of fragments of text, wherein at least one of said plurality of fragments comprise text matching a specific one of said at lease one parsing rule;
- and
- means for parsing said fragments of said received content according to each said at least one parsing rule in said parsing object.
Dependencies are inferred from the claim text.