×

Method for parsing natural language text with simple links

  • US 9,720,903 B2
  • Filed: 07/22/2013
  • Issued: 08/01/2017
  • 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 the 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) said parser selects the target word and link action for a simple link by performing determination steps and repeating the determination steps until each source word has an associated simple link, where the determining steps include;

    i. finding a common ancestor of a source word and a previous word, finding a left-most descendent of the common ancestor, and assigning the left-most descendent of the common ancestor as the target word of the simple link,ii. determining if a parent of the source word is also a parent of the previous word, and if so, the link action selected is Append;

    iii. determining if the parent of the source word is a child of the parent of the previous word, and if so, the link action selected is Insert Below;

    iv. finding a child node of the common ancestor that is a parent or ancestor to the source word, and determining a position of the child node, which position will be numbered sequentially, and if the position of the child is 3 or greater, the link action selected is Insert Below;

    v. determining if the parent of the source word is the same as the common ancestor and the parent of the target word is not the common ancestor, then the link action is Insert Above; and

    vi. determining if none of the previous conditions exist, the link action selected is Insert Above and Below;

    (d) said parser uses at least one statistical classifier by training said statistical classifier on said details that were extracted from said corpus;

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

    (f) using said language model to generate at least one new simple link for at least one source word in at least one additional utterance by using said statistical classifier to choose a target word and link action for the new simple link; and

    (q) outputting the results of said parsing of the additional utterance as an array of simple links with the additional utterance.

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