×

METHOD FOR PARSING NATURAL LANGUAGE TEXT WITH CONSTITUENT CONSTRUCTION LINKS

  • US 20180322111A1
  • Filed: 07/19/2018
  • Published: 11/08/2018
  • Est. Priority Date: 07/10/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for Improving a processor in communication with a memory storing a program which uses a parser to parse natural language text, said method comprising:

  • a) training said parser by accessing a corpus of labeled utterances;

    b) using said parser to extract details from said corpus, where said details include at least two simple links, where a simple link consists of a source word in the utterance, a target word in the utterance that is distinct from said source word, and a link action, said link action is chosen from a set of link actions which includes at least 2 of Append, Insert Below, Insert Above, and Insert Above and Below;

    c) using said parser to create a language model using said details;

    d) using said language model to generate at least two new simple links for at least two source words in at least one additional utterance;

    e) using said new simple links to generate a constituent tree structure that represents the sentence parse result for said additional utterance by performing determination steps and repeating the determination steps until the required nodes for each new simple link have been added to said constituent tree, where the determination steps include;

    i. if this is the first new simple link for said additional utterance, create a new node for the first word of said additional utterance, also create a node and make it the parent of this new node;

    ii. create a new node for the source word;

    iii. find the highest node above the target node of the simple link, for which the target node is either the first child of said highest node, or for which the target node is a descendent of the first child of said highest node and is also a descendent of the first child of all intervening nodes between said highest node and the target node, and herein designate said node as the highest right most node;

    iv. if the link action is Append, make the node for the source word a child of the highest right most node;

    v. if the link action is Insert Below, create a new node, make it a child of the highest right most node and make the node for the source word a child to this new node;

    vi. if the link action is Insert Above and the highest right most node DOES NOT have a parent, create a new node, make said new node the parent of the highest right most node, and make the node of the source word a child of said new node;

    vii. if the link action is Insert Above and the highest right most node DOES have a parent, separate the highest right most node and its parent, create a new node, make said new node a child of the node that was the parent of the highest right most node, make the highest right most node a child of said new node, and make the node of the source word a child of said new node;

    viii. if the link action is insert Above and Below and the highest right most node DOES NOT have a parent, create a first new node, make said first new node the parent of the highest right most node, create a second new node, make said second new node a child of said first new node, and make the node of the source word a child of said second new node;

    ix. if the link action is Insert Above and Below and the highest right most node DOES have a parent, separate the highest right most node and its parent, create a first new node, make said first new node a child of the node that was the parent of the highest right most node, make the highest right most node a child of said first new node, create a second new node, make said second new node a child of said first new node, and make the node of the source word a child of said second new node;

    f) outputting the results of said parsing of said additional utterance as an array of simple links and said constituent tree structure with the additional utterance.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×