Parsing structured data
First Claim
1. A method for parsing structured data with plural branches comprising the steps of:
- receiving input data with the plural branches in a first computer language;
generating a plurality of tokens according to the input data; and
building a context and processing a built context in units of the plural branches by using a grammar syntax comprising a set of rules, wherein the steps of receiving, generating and building occur in parallel across at least a portion of the input data;
the context comprising a plurality of context steps in the form of at least one or more chains of context steps, the step of building the context comprising the sub-steps of;
detecting if according to the grammar syntax a token is allowable in the context;
and if the token is allowable, creating a new context step corresponding to the token; and
if the token is unallowable recovering the unallowable token by identifying a suitable context for the unallowable token in which context the token is allowable, and applying the token in the identified suitable context.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for parsing structured data has the steps of: receiving input data in a first computer language; generating a plurality of tokens according to the input data; building a context by using a grammar syntax comprising a set of rules, the context comprising a plurality of context steps in the form of at least one or more chains of context steps, the step of building the context comprising the sub-steps of: detecting if according to the grammar syntax a token is allowable in the context; and if the token is allowable, creating a new context step corresponding to the token, and the further steps for recovering an unallowable token: identifying a suitable context for the unallowable token in which context the token is allowable; and applying the token in the identified suitable context.
27 Citations
13 Claims
-
1. A method for parsing structured data with plural branches comprising the steps of:
-
receiving input data with the plural branches in a first computer language; generating a plurality of tokens according to the input data; and building a context and processing a built context in units of the plural branches by using a grammar syntax comprising a set of rules, wherein the steps of receiving, generating and building occur in parallel across at least a portion of the input data; the context comprising a plurality of context steps in the form of at least one or more chains of context steps, the step of building the context comprising the sub-steps of; detecting if according to the grammar syntax a token is allowable in the context; and if the token is allowable, creating a new context step corresponding to the token; and if the token is unallowable recovering the unallowable token by identifying a suitable context for the unallowable token in which context the token is allowable, and applying the token in the identified suitable context. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A parser comprising:
-
a processor coupled to a memory for storing parser software, said processor comprising an input for receiving input data with plural branches in a first computer language; and
said parser software comprising;a tokenizer for generating a plurality of tokens according to the input data; a context builder for building a context and processing a built context in units of the plural branches by using a grammar syntax comprising a set of rules, wherein receiving input, generating a plurality of tokens and building a context occur in parallel across at least a portion of the input data; the context comprising a plurality of context steps in the form of at least one chain of context steps, the context builder being configured to detect if according to the grammar syntax a token is allowable in the context, and if the token is allowable, to create a new context step corresponding to the token; and if the token is unallowable an identifying block for identifying for the unallowable token a suitable context in which the token is allowable; wherein the tokenizer is configured to apply the token in the identified suitable context.
-
-
10. A computer program product, embodied on a computer readable memory, for controlling a parser comprising:
-
parser executable computer program code to enable the parser to receive input data with plural branches in a first computer language; parser executable computer program code to enable the parser to generate a plurality of tokens according to the input data; parser executable computer program code to enable the parser to build a context and process a built context in units of the plural branches by using a grammar syntax comprising a set of rules, wherein receiving input data, generating a plurality of tokens and building a context occur in parallel across at least a portion of the input data; the context comprising a plurality of context steps in the form of at least one chain of context steps, the code being configured to detect if according to the grammar syntax a token is allowable in the context, and if the token is allowable, to create a new context step corresponding to the token; and parser executable computer program code to enable the parser to identify for an unallowable token a suitable context in which the token is allowable and to enable the parser to apply the token in the identified suitable context.
-
-
11. A processing unit having a parser comprising:
- an input for receiving input data with plural branches in a first computer language;
a processor for generating a plurality of tokens according to the input data; a context builder for building a context and processing a built context in units of the plural branches by using a grammar syntax comprising a set of rules, wherein receiving input data, generating a plurality of tokens and building a context occur in parallel across at least a portion of the input data; the context comprising a plurality of context steps in the form of at least one chain of context steps, configured to detect if according to the grammar syntax a token is allowable in the context, and if the token is allowable, to create a new context step corresponding to the token; and an identifying block for identifying for an unallowable token a suitable context in which the token is allowable; wherein the processor is configured to apply the token in the identified suitable context. - View Dependent Claims (12)
- an input for receiving input data with plural branches in a first computer language;
-
13. A system comprising a mobile telecommunications network and a gateway having a parser that comprises:
-
an input for receiving input data with plural branches in a first computer language; a processor for generating a plurality of tokens according to the input data; a context builder for building a context and processing a built context in units of the plural branches by using a grammar syntax comprising a set of rules, wherein receiving input data, generating a plurality of tokens and building a context occur in parallel across at least a portion of the input data; the context comprising a plurality of context steps in the form of at least one chain of context steps, configured to detect if according to the grammar syntax a token is allowable in the context, and if the token is allowable, to create a new context step corresponding to the token; and an identifying block for identifying for an unallowable token a suitable context in which the token is allowable; wherein the processor is configured to apply the token in the identified suitable context.
-
Specification