Method and apparatus for displaying natural language structure
First Claim
Patent Images
1. A method for displaying a natural language structure comprising the steps of:
- a) parsing a natural language sentence that is input to obtain predetermined grammatical elements;
b) performing an analysis, based on a natural language grammar, of the relationships existing between the grammatical elements; and
c) displaying and positioning said grammatical elements in accordance with tree structure-based levels and display attributes so as to visually demonstrate the relationships between said grammatical elements determined at said step b).
1 Assignment
0 Petitions
Accused Products
Abstract
A natural language structure display method for displaying, to represent a word relationship, the structure of a natural language sentence that is input, comprises the steps of: (1) parsing the natural language sentence that is input into predetermined elements; (2) analyzing the word relationships existing between the elements in accordance with the natural language grammar; and (3) displaying and positioning the predetermined elements so as to represent the word relationships obtained at the above step.
35 Citations
46 Claims
-
1. A method for displaying a natural language structure comprising the steps of:
-
a) parsing a natural language sentence that is input to obtain predetermined grammatical elements;
b) performing an analysis, based on a natural language grammar, of the relationships existing between the grammatical elements; and
c) displaying and positioning said grammatical elements in accordance with tree structure-based levels and display attributes so as to visually demonstrate the relationships between said grammatical elements determined at said step b). - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A natural language structure display method comprising the steps of:
-
a) parsing a sentence into predetermined elements;
b) analyzing word relationships existing between said elements in accordance with a grammar of said natural language;
c) defining said elements as nodes, and connecting said nodes in accordance with said word relationships to generate tree structure data;
d) inserting and displaying root nodes and child nodes thereof in said tree structure data vertically, extending from the top to the bottom, following the order wherein said nodes appear in said natural language sentence;
e) adding, to a node list, said child nodes of said parent nodes displayed at said step d);
f) extracting one child node from the first location in said node list;
g) displaying said child node extracted at said step f), when according to said grammar of said natural language the relationship between said child node and said parent node is the nearest, in the same row as said parent node and following the same order wherein said parent node and said child node appear in the natural language sentence;
h) inserting a new row immediately above a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted at said step f) and said parent node is not the nearest, and when said child node is related to the order wherein said parent node appears in said natural language sentence, and displaying said child node in said new row so that the rear end of said child node is aligned with the front end of said parent node;
i) inserting a new row immediately below a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted at said step f) and said parent node is not the nearest and when said child node is related to the inverted order wherein said parent node appears in said natural language sentence, and displaying said child node in said new row so that the front end of said child node is aligned with the rear end of said parent node;
j) adding, to said node list, all the child nodes extracted at said step f); and
k) repeating said steps f) to j) until said node list has been exhausted.
-
-
12. A natural language structure display method comprising the steps of:
-
a) parsing a sentence into predetermined elements;
b) analyzing word relationships existing between said elements in accordance with a grammar of said natural language;
c) defining said elements as nodes, and connecting said nodes in accordance with said word relationships to generate tree structure data;
d) displaying root nodes in said tree structure data;
e) adding, to a node list, said child nodes of said parent nodes displayed at said step d);
f) extracting one child node from the first location in said node list;
g) displaying said child node extracted at said step f), when according to said grammar of said natural language the relationship between said child node and said parent node is the nearest, in the same row as said parent node and following the same order wherein said parent node and said child node appear in the natural language sentence;
h) inserting a new row immediately above a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted at said step f) and said parent node is not the nearest, and when said child node is related to the order wherein said parent node appears in said natural language sentence, and displaying said child node in said new row so that the rear end of said child node is aligned with the front end of said parent node;
i) inserting a new row immediately below a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted at said step f) and said parent node is not the nearest and when said child node is related to the inverted order wherein said parent node appears in said natural language sentence, and displaying said child node in said new row so that the front end of said child node is aligned with the rear end of said parent node;
j) adding, to said node list, all the child nodes extracted at said step f); and
k) repeating said steps f) to j) until said node list has been exhausted. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. An apparatus for displaying a natural language structure comprising:
-
input means for entering a natural language sentence;
parsing means for parsing said natural language sentence to obtain predetermined elements;
analysis means for analyzing a relationship existing between said elements based on a natural language grammar; and
display means for displaying and positioning said elements in accordance with tree structure-based levels and display attributes to visually represent said relationship between said elements ascertained by said analysis means. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30, 31)
-
-
32. A natural language structure display apparatus comprising:
-
input means for entering a natural language sentence;
parsing means for parsing a sentence into predetermined elements;
analysis means for analyzing word relationships existing between said elements in accordance with a grammar of said natural language;
tree structure data generation means for defining said elements as nodes, and for connecting said nodes in accordance with said word relationships to generate tree structure data;
first display means for inserting and displaying root nodes and child nodes thereof in said tree structure data vertically, extending from the top to the bottom, following the order wherein said nodes appear in said natural language sentence;
node list addition means for adding, to a node list, said child nodes of said parent nodes displayed by said first display means;
node extraction means for extracting one child node from the first location in said node list;
second display means for displaying said child node extracted by said node extraction means, when according to said grammar of said natural language the relationship between said child node and said parent node is the nearest, in the same row as said parent node and following the same order wherein said parent node and said child node appear in the natural language sentence;
third display means for inserting a new row immediately above a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted by said extraction means and said parent node is not the nearest, and when said child node is related to the order wherein said parent node appears in said natural language sentence, and for displaying said child node in said new row so that the rear end of said child node is aligned with the front end of said parent node;
fourth display means for inserting a new row immediately below a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted by said extraction means and said parent node is not the nearest and when said child node is related to the inverted order wherein said parent node appears in said natural language sentence, and for displaying said child node in said new row so that the front end of said child node is aligned with the rear end of said parent node;
node list addition means for adding, to said node list, all the child nodes extracted by said extraction means; and
repeating means for repeating said node extraction means, said second to fourth display means and said node list addition means until said node list has been exhausted.
-
-
33. A natural language structure display apparatus comprising:
-
input means for entering a natural language sentence;
parsing means for parsing a sentence into predetermined elements;
analysis means for analyzing word relationships existing between said elements in accordance with a grammar of said natural language;
tree structure data generation means for defining said elements as nodes, and for connecting said nodes in accordance with said word relationships to generate tree structure data;
first display means for displaying root nodes in said tree structure data;
node list addition means for adding, to a node list, said child nodes of said parent nodes displayed by said first display means;
node extraction means for extracting one child node from the first location in said node list;
second display means for displaying said child node extracted by said node extraction means, when according to said grammar of said natural language the relationship between said child node and said parent node is the nearest, in the same row as said parent node and following the same order wherein said parent node and said child node appear in the natural language sentence;
third display means for inserting a new row immediately above a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted by said extraction means and said parent node is not the nearest, and when said child node is related to the order wherein said parent node appears in said natural language sentence, and for displaying said child node in said new row so that the rear end of said child node is aligned with the front end of said parent node;
fourth display means for inserting a new row immediately below a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted by said extraction means and said parent node is not the nearest and when said child node is related to the inverted order wherein said parent node appears in said natural language sentence, and for displaying said child node in said new row so that the front end of said child node is aligned with the rear end of said parent node;
node list addition means for adding, to said node list, all the child nodes extracted by said extraction means; and
repeating means for repeating said node extraction means, said second to fourth display means and said node list addition means until said node list has been exhausted. - View Dependent Claims (34, 35, 36, 37, 38, 39, 40, 41, 42)
-
-
43. Apparatus for displaying a natural language structure comprising:
- at least one processor configured to perform the operations of;
a) parsing a natural language sentence that is input to obtain predetermined grammatical elements;
b) performing an analysis, based on a natural language grammar, of the relationships existing between the grammatical elements; and
c) displaying and positioning said grammatical elements in accordance with tree structure-based levels and display attributes so as to visually demonstrate the relationships between said grammatical elements determined by said operation b).
- at least one processor configured to perform the operations of;
-
44. A natural language structure display apparatus comprising:
-
at least one processor configured to perform the operations of;
a) parsing a sentence into predetermined elements;
b) analyzing word relationships existing between said elements in accordance with a grammar of said natural language;
c) defining said elements as nodes, and connecting said nodes in accordance with said word relationships to generate tree structure data;
d) inserting and displaying root nodes and child nodes thereof in said tree structure data vertically, extending from the top to the bottom, following the order wherein said nodes appear in said natural language sentence;
e) adding, to a node list, said child nodes of said parent nodes displayed at said step d);
f) extracting one child node from the first location in said node list;
g) displaying said child node extracted at said step f), when according to said grammar of said natural language the relationship between said child node and said parent node is the nearest, in the same row as said parent node and following the same order wherein said parent node and said child node appear in the natural language sentence;
h) inserting a new row immediately above a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted at said step f) and said parent node is not the nearest, and when said child node is related to the order wherein said parent node appears in said natural language sentence, and displaying said child node in said new row so that the rear end of said child node is aligned with the front end of said parent node;
i) inserting a new row immediately below a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted at said step f) and said parent node is not the nearest and when said child node is related to the inverted order wherein said parent node appears in said natural language sentence, and displaying said child node in said new row so that the front end of said child node is aligned with the rear end of said parent node;
j) adding, to said node list, all the child nodes extracted at said step f); and
k) repeating said steps f) to j) until said node list has been exhausted.
-
-
45. A natural language structure display apparatus comprising:
-
at least one processor configured to perform the operations of;
a) parsing a sentence into predetermined elements;
b) analyzing word relationships existing between said elements in accordance with a grammar of said natural language;
c) defining said elements as nodes, and connecting said nodes in accordance with said word relationships to generate tree structure data;
d) displaying root nodes in said tree structure data;
e) adding, to a node list, said child nodes of said parent nodes displayed at said step d);
f) extracting one child node from the first location in said node list;
g) displaying said child node extracted at said step f), when according to said grammar of said natural language the relationship between said child node and said parent node is the nearest, in the same row as said parent node and following the same order wherein said parent node and said child node appear in the natural language sentence;
h) inserting a new row immediately above a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted at said step f) and said parent node is not the nearest, and when said child node is related to the order wherein said parent node appears in said natural language sentence, and displaying said child node in said new row so that the rear end of said child node is aligned with the front end of said parent node;
i) inserting a new row immediately below a row in which said parent node is displayed, when according to said natural language grammar the relationship between said child node extracted at said step f) and said parent node is not the nearest and when said child node is related to the inverted order wherein said parent node appears in said natural language sentence, and displaying said child node in said new row so that the front end of said child node is aligned with the rear end of said parent node;
j) adding, to said node list, all the child nodes extracted at said step f); and
k) repeating said steps f) to j) until said node list has been exhausted.
-
-
46. An article of manufacture for displaying a natural language structure, comprising a machine readable medium containing one or more programs which when executed implement the steps of:
-
a) parsing a natural language sentence that is input to obtain predetermined grammatical elements;
b) performing an analysis, based on a natural language grammar, of the relationships existing between the grammatical elements; and
c) displaying and positioning said grammatical elements in accordance with tree structure based levels and display attributes so as to visually demonstrate the relationships between said grammatical elements determined at said step b).
-
Specification