Generating with Lexical Functional Grammars
First Claim
1. A computer controlled method for constructing a generation chart having a plurality of chart edges comprising steps of:
- a) receiving a grammar and one or more facts into a memory wherein the grammar contains category information and wherein each of the one or more facts contains at least one identifier;
b) constructing a generation guide in the memory having a plurality of guide edges wherein at least one of the plurality of guide edges is indexed by the category information and at least one identifier, and has an associated set of facts;
c) detecting a set of internal facts in the memory for at least one of the plurality of guide edges wherein the set of internal facts is a subset of the associated set of facts; and
d) selecting the plurality of chart edges from the memory responsive to the set of internal facts of the plurality of guide edges; and
e) generating strings of words based on the selected plurality of chart edges.
9 Assignments
0 Petitions
Accused Products
Abstract
A process for generating with unification based grammars such as Lexical Functional Grammars which uses construction and analysis of generation guides to determine internal facts and eliminate incomplete edges prior to constructing a generation chart. The generation guide can then be used in the construction of the generation chart to efficiently generate with unification-based grammars such as Lexical Functional Grammars. The generation guide is an instance of a grammar that has been specialized to the input and only contains those parts of the grammar that are relevant to the input. When the generation guide is analyzed to determine internal facts a smaller generation chart is produced.
-
Citations
41 Claims
-
1. A computer controlled method for constructing a generation chart having a plurality of chart edges comprising steps of:
-
a) receiving a grammar and one or more facts into a memory wherein the grammar contains category information and wherein each of the one or more facts contains at least one identifier; b) constructing a generation guide in the memory having a plurality of guide edges wherein at least one of the plurality of guide edges is indexed by the category information and at least one identifier, and has an associated set of facts; c) detecting a set of internal facts in the memory for at least one of the plurality of guide edges wherein the set of internal facts is a subset of the associated set of facts; and d) selecting the plurality of chart edges from the memory responsive to the set of internal facts of the plurality of guide edges; and e) generating strings of words based on the selected plurality of chart edges. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer controlled method for constructing a generation chart having a plurality of chart edges comprising the steps of:
-
a) receiving a grammar and one or more facts into a memory wherein the grammar contains category information and each of the one or more facts contains at least one identifier; b) constructing a generation guide having plurality of guide edges in the memory, wherein at least one guide edge has at least one fact associated therewith; c) determining which facts in the memory are an obligatory parent fact for at least one fact to form a set of obligatory parent facts; d) selecting a given fact in the memory as an internal fact to form a set of internal facts if the given fact is dependent on an obligatory parent fact of the given fact, and the obligatory parent fact is obligatory on a daughter of the guide edge, and the obligatory parent fact is optional on the guide edge; e) selecting the plurality of chart edges from the memory responsive to the set of internal facts; and f) generating strings of words based on selected plurality of chart edges. - View Dependent Claims (13)
-
-
14. An apparatus having a central processing unit (CPU) and a memory coupled to said CPU for constructing a generation chart having a plurality of chart edges comprising:
-
a) an input module configured to receive a grammar and one or more facts wherein the grammar contains category information and wherein each of the one or more facts contains at least one identifier; b) a guide generator responsive to the input module configured to construct a generation guide having a plurality of guide edges wherein at least one of the plurality of guide edges is indexed by the category information and at least one identifier, and has an associated set of facts; c) a detector responsive to the guide generator configured to detect a set of internal facts for at least one of the plurality of guide edges wherein the set of internal facts is a subset of the associated set of facts; d) an edge selector responsive to the detector configured to select the plurality of chart edges responsive to the set of internal facts of the plurality of guide edges and generating strings words based on the selected plurality of chart edges. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. An apparatus having a central processing unit (CPU) and a memory coupled to said CPU for constructing a generation chart having a plurality of chart edges comprising:
-
a) an input module for receiving a grammar and one or more facts wherein the grammar contains category information and each of the one or more facts contains at least one identifier; b) a guide generator responsive to the input module for constructing a generation guide having plurality of guide edges, wherein at least one guide edge has at least one fact associated therewith; c) a detector responsive to the guide generator for determining which facts are an obligatory parent fact for at least one guide edge to form a set of obligatory parent facts; d) a fact selector responsive to the detector for selecting facts as an internal fact for at least one one of the plurality of chart edges from the set of obligatory parent facts for at least one guide edge to form a set of internal facts; e) a chart edge selector responsive to the fact selector for selecting the plurality of chart edges responsive to the set of internal facts and generating strings of words based on the selected plurality of chart edges. - View Dependent Claims (26)
-
-
27. A computer program product in a computer readable storage medium having computer readable code embodied therein for causing a computer to construct a generation chart having a plurality of chart edges, the computer readable code comprising:
-
a) computer readable program code configured to cause the computer to effect an input module configured to receive a grammar and one or more facts wherein the grammar contains category information and wherein each of the one or more facts contains at least one identifier; b) computer readable program code configured to cause the computer to effect a guide generator responsive to the input module configured to construct a generation guide having a plurality of guide edges wherein at least one of the plurality of guide edges is indexed by the category information and at least one identifier, and has an associated set of facts; c) computer readable program code configured to cause the computer to effect a detector responsive to the guide generator configured to detect a set of internal facts for at least one of the plurality of guide edges wherein the set of internal facts is a subset of the associated set of facts; and d) computer readable program code configured to cause the computer to effect an edge selector responsive to the detector configured to select the plurality of chart edges responsive to the set of internal facts of the plurality of guide edges. - View Dependent Claims (28, 29, 30, 31, 32, 33, 34, 35, 36, 37)
-
-
38. A computer program product in a computer readable storage medium having computer readable program code embodied therein for causing a computer to construct a generation chart having a plurality of chart edges comprising:
-
a) computer readable program code configured to cause the computer to effect an input module for receiving a grammar and one or more facts wherein the grammar contains category information and each of the one or more facts contains at least one identifier; b) computer readable program code configured to cause the computer to effect a guide generator responsive to the input module for constructing a generation guide having plurality of guide edges, wherein at least one guide edge bas at least one fact associated therewith; c) computer readable program code configured to cause the computer to effect a detector responsive to the guide generator for determining which facts are an obligatory parent fact for at least one guide edge to form a set of obligatory parent facts; d) computer readable program code configured to cause the computer to effect a fact selector responsive to the detector for selecting facts as an internal fact for at least one one of the plurality of chart edges from the set of obligatory parent facts for at least one guide edge to form a set of internal facts; e) computer readable program code configured to cause the computer to effect a chart edge selector responsive to the fact selector for selecting the plurality of chart edges responsive to the set of internal facts. - View Dependent Claims (39)
-
-
40. An article of manufacture for constructing a generation chart having a plurality of chart edges, the article of manufacture comprising computer readable media including computer readable instructions embedded therein that causes a computer to perform a method, wherein the method comprises:
-
a) receiving a grammar and one or more facts into a memory wherein the grammar contains category information and wherein each of the one or more facts contains at least one identifier; b) constructing a generation guide in the memory having a plurality of guide edges wherein at least one of the plurality of guide edges is indexed by the category information and at least one identifier, and has an associated set of facts; c) detecting a set of internal facts in the memory for at least one of the plurality of guide edges wherein the set of internal facts is a subset of the associated set of facts; and d) selecting the plurality of chart edges from the memory responsive to the set of internal facts of the plurality of guide edges. - View Dependent Claims (41)
-
Specification