Method and Apparatus for Full Natural Language Parsing

Information

  • Patent Application
  • 20110301942
  • Publication Number
    20110301942
  • Date Filed
    June 01, 2011
    13 years ago
  • Date Published
    December 08, 2011
    12 years ago
Abstract
The method and apparatus for discriminative natural language parsing, uses a deep convolutional neural network adapted for text and a structured tag inference in a graph. In the method and apparatus, a trained recursive convolutional graph transformer network, formed by the deep convolutional neural network and the graph, predicts “levels” of a parse tree based on predictions of previous levels.
Description
FIELD

The present disclosure relates to Natural Language Processing. More specifically, the present disclosure relates to a method and an apparatus for full natural language parsing.


BACKGROUND

Parsing has been pursued with tremendous efforts in the Natural Language Processing (NLP) community. Since the introduction of lexicalized probabilistic context-free grammar (PCFGs) parsers, improvements have been achieved over the years, but generative PCFGs parsers of the last decade still remain standard benchmarks. Given the success of discriminative learning algorithms for classical NLP tasks (Part-Of-Speech (POS) tagging, Name Entity Recognition, Chunking . . . ), the generative nature of such parsers has been questioned. First, discriminative parsing algorithms have not reached the performance of standard PCFG-based generative parsers. The parser reported in DISCRIMINATIVE TRAINING OF A NEURAL NETWORK STATISTICAL PARSER, by J. Henderson outperforms the parser reported in HEAD-DRIVEN STATISTICAL MODELS FOR NATURAL LANGUAGE PARSING, by M. Collins, only by using a generative model and performing re-ranking. The pure discriminative parsers reported in MAX-MARGIN PARSING, by B. Taskar et al. and ADVANCES IN DISCRIMINATIVE PARSING by J. Turian et al. finally reached Collins' parser performance, with various simple template features. However, these parsers are slow to train and are limited to sentences with less than 15 words. Most recent discriminative parsers are based on Conditional Random Fields (CRFs) with PCFG-like features.


Accordingly, there is a need for a fast discriminative parser which does not rely on information extracted from PCFG's or on most classical parsing features.


SUMMARY

A method is disclosed herein for generating a linguistic parse tree for a sentence. The method comprises the steps of: predicting in a computer process a first level of chunk tags for the sentence; and predicting in a computer process at least a second level of chunk tags for the sentence using the first level or a previous level of chunk tags.


Also disclosed is an apparatus for generating a linguistic parse tree for a sentence. The apparatus comprises a processor executing instructions for predicting a first level of chunk tags for the sentence, and predicting at least a second level of chunk tags for the sentence using the first level or a previous level of chunk tags.


Further disclosed is an apparatus for generating a linguistic parse tree for a sentence. The apparatus comprises a Graph Transformer Network (GTN) for predicting a first level of chunk tags for the sentence, and predicting at least a second level of chunk tags for the sentence using the first level or a previous level of chunk tags.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a flowchart of an exemplary embodiment of a discriminative parsing method of the present disclosure.



FIG. 2A illustrates an exemplary embodiment of a linguistic parse tree generated for an exemplary sentence in a natural language.



FIG. 2B illustrates the parse tree of FIG. 2A with consecutive tree levels merged when they cover the same segment of the sentence.



FIG. 2C illustrates levels of the tree of FIG. 2B.



FIG. 3 illustrates three levels of labeling tasks for predicting the parse tree of FIG. 2B.



FIG. 4 illustrates an exemplary embodiment of a tagger comprising a trained recursive convolutional graph transformer network.



FIG. 5 illustrates an exemplary embodiment of a graph outputted by the tagger.



FIG. 6 is a block diagram of an exemplary embodiment of a computer system for implementing the method and tagger.





DETAILED DESCRIPTION


FIG. 2A illustrates an exemplary embodiment of a linguistic parse tree 200 for the sentence “But stocks kept falling.” The root 202 of the parse tree spans the entire sentence and is recursively decomposed into sub-constituents 204 (the nodes of the tree). The sentence and sub-constituents are identified with labels comprising without limitation NP (noun phrase), VP (verb phrase), and S (sentence). The leaves 206 of the parse tree comprise the words of the sentence.


Many Natural Language Processing (NLP) tasks involve finding chunks of words in a sentence, which can be viewed as a tagging task. For instance, “chunking” is a task related to parsing, a label is obtained for the lowest parse tree node where a word ends up. For the parse tree shown in FIG. 2A, chunk tags can be written as:




















But
stocks
kept
falling



O
S-NP
B-VP
E-VP,











using an IOBES (inside, other, beginning, end, and single) tagging scheme to label chunk boundaries, i.e., identify the location of the current word in the chunk. The “S-NP” chunk tag is used to label the noun phrase containing the single word “stocks,” the “B-VP” chunk tag is used to label the first word “kept” of the verb phrase “kept falling,” and the “E-VP” chunk tag is used to label the last word “falling” of the verb phrase “kept falling.” The IOBES tagging scheme also includes other chunk tags comprising, without limitation, the “B-NP” chunk tag for labeling the first word of a noun phrase, the “I-NP” chunk tag is for labeling the intermediate word of a noun phrase, and the “E-NP” chunk tag for labeling the last word of a noun phrase. The “O” chunk tag is for labeling words that are not members of a chunk.


Instead of building the linguistic parse tree in a conventional top-down fashion (building from the root), the discriminative parsing method and apparatus of the present disclosure views a parse tree as levels of chunk tags and thus, generates each level of the parse tree from the bottom up, i.e., the number of chunk tags become less at each level moving from the leaves to the root, with the chunk tags spanning longer segments of the sentence. Each level of the parse tree will have tags that spans several consecutive tags in the previous level. Eventually a level is reached that has only one tag that covers the entire sentence. A full parse tree is realized by connecting each chunk tag to the chunks tags in the previous level.



FIG. 1 is a flowchart of an exemplary embodiment of the discriminative parsing method (tagging method) of the present disclosure. The tagging method commences in block 100, with an input sentence in a natural language which is applied to block 110.


In block 110, a first level of chunk tags is predicted for the sentence. The first level of chunk tags is predicted using features including, without limitation, a lookup table of the words and the part-of-speech of the words.


In block 115, a determination is made as to whether the level of chunk tags predicted in block 110 has only one chunk tag that spans the entire sentence. If the level predicted in block 110 has only one chunk tag that spans the entire sentence, then a completed parse tree outputted in block 140 and the method ends. If not, the method moves to block 120.


In block 120, one or more levels of chunk tags is/are predicted for the sentence from the first/previous level of chunk tags. The first/previous level of chunk tags are used as features and constraints to predict the chunk tags of the current level.


In block 130, a determination is made as to whether the level of chunk tags predicted in block 120 has only one chunk tag that spans the entire sentence. If the level predicted in block 120 has only one chunk tag that spans the entire sentence, then a completed parse tree outputted in block 140 and the method ends. If, however, the level predicted in block 120 has more than one chunk tag, then the method returns to block 120 where another level of chunk tags is predicted from the previous level of chunk tags and this level is evaluated in block 130 to determine whether this level has only one chunk tag that spans the entire sentence. Blocks 120 and 130 are performed until a level is reached that has only one tag that covers the entire sentence.



FIG. 3 illustrates a stack 300 comprising sentence 301 and tag levels 302-304 (Level 1, Level 2, and Level 3) which is used to predict the linguistic parse tree illustrated in FIG. 2B. The parse tree illustrated in FIG. 2B is similar to the parse tree 200 illustrated in FIG. 2A, however, method of FIG. 1 is constrained by the rule that consecutive tree levels are to be merged when they cover the same segment of the sentence. In accordance with the method of the disclosure, the lowest nodes of the parse tree of FIG. 2B correspond to the Level 1 chunk tags. Tree nodes which contain sub-nodes are ignored at this stage, e.g., FIG. 2B, the word “kept” is not labeled with the “S-VP” tag in Level 1, as the node “VP” still contains sub-nodes “S” and “VP” above the word “falling.” Words not in one of the lowest nodes are labeled with the “O” tag. The lowest nodes of the tree are then stripped, and the same process used to generate the Level 1 tags is used to generate the Level 2 chunk tags. This process is repeated until one of the Levels contains the root node. This bottom-up process is used because it can be relied upon for lower level predictions, i.e., the chunking task, which describes the lowest parse tree nodes in another manner, has a very good performance.


The method of FIG. 1 is performed by a tagging apparatus (tagger) which predicts each “level” of the parse tree based on predictions of previous levels. The same tagger is used for predicting all parse tree levels. The tagger used for predicting the levels can comprise a trained recursive convolutional graph transformer network.


The tagging process fits naturally into the recursive definition of the parse tree levels. However, the predicted tags must correspond to a parse tree as described earlier above with respect to parse tree of FIG. 2B and block 110 of FIG. 1. In a parse tree, a parent node includes child nodes. Without constraints during the parse tree level predictions, one could face a chunk partially spanning another chunk at a lower level, which would violate the parse tree constraint that the parent included child nodes. To insure that the tagging process corresponds to a valid tree, a “valid tree” constraint can be added which forces higher level chunks to fully include lower level chunks. It possible, however, that this iterative process may never end, because it can be subject to loops. For example, the valid tree constraint can still be satisfied if the tagger predicts the same tags for two consecutive levels. This problem is solved by: (a) modifying the training parse trees such that nodes grow strictly as we go up in the parse tree and (b) enforcing the corresponding valid tree and other constraints in the tagging process.


Accordingly, tree nodes spanning the same words for several consecutive level are first replaced by one node in the whole training set. The label of this new node is the concatenation of replaced node labels as illustrated in FIG. 2B. At test time, the inverse operation is performed on nodes having concatenated labels. Considering all possible label combinations would be intractable. Note that more than two labels might be concatenated, e.g., the tag SBAR#S#VP is quite common in the training set. With this additional pre-processing, any tree node is strictly larger (in terms of words it spans) than each of its children. The following constraint (Constraint 1) is then enforced during the iterative tagging process:


Constraint 1: Any chunk at level a overlapping a chunk at level j<i must span at least this over-lapped chunk, and be larger.


As a result, the iterative tagging process described above will generate a chunk of size N in at most N levels, given a sentence of N words. At this time, the iterative loop is stopped, and the full tree can be deduced. The process might also be stopped if no new chunks are found (all tags are O). Assuming the tree pre-processing has been performed, this method can be used with any tagger that could handle a history of labels and tagging constraints. Even though the tagging process is greedy because there is no global inference of the tree, it performs surprisingly well.



FIG. 4 illustrates an exemplary embodiment of the tagger for performing the method of the present disclosure. This tagger comprises a trained recursive convolutional graph transformer network (GTN) 400 which is formed by a deep temporal convolutional neural network (CNN) module 403 adapted for text and a structured tag inference in a graph module 404. The GTN 400 predicts a “level” of the tree based on predictions of previous levels by outputting a graph over which inference is achieved with a Viterbi algorithm. In the input module 401, given a sequence of words, a set of discrete features are presented for each word. Such features can include, without limitation, a word ID, upper case (the first letter of the word or the entire word) or lower case, etc. For parsing tasks, also included are parts of speech (POS) and the parse tree tags of the previous level (FIG. 3).


A look-up table module 402 comprises a plurality of look-up tables which assign a “latent-feature” vector for each feature. The values in these vectors have latent semantic meanings to aid the parsing process. The vectors are concatenated into one feature vector per word, and are inputted to the CNN module 403.


The CNN module 403 is applied on every window of words (given a fixed window size) and outputs probabilities (scores) for each tag for the word in the middle of the window. A CNN module 403 multiplies a filter matrix M to a sliding window of words. If, for example but not limitation, the window size is set to 3, then for each word, the lookup table entries (vectors) of the word before it, the word itself, and the word after it, are concatenated to a single vector. Then the filter matrix M is applied to the concatenated vector.


Note that the “padding” features are added to the beginning and the end of the sentence to cause the first several words and the last several words to be in the center of their window. Padding refers to the process of placing a “fake” word before the sentence and after the sentence to ensure every word to be tagged in the sentence is generally in the middle of the window when the CNN module 403 is applied. For example but not limitation, if the lookup table module 402 has a window size of 3, therefore, three consecutive words are to be concatenated and the word to be tagged is in the middle of this window. So for the first word to be tagged, we have to insert a fake word before it, so the first word can be in the middle when that 3-window is applied. The same process is performed for the last word of the sentence. The faked words have their own lookup tables. In another example, if the window size is 5, then two padding words are added at the beginning and at the end. In general, the number of padding words is (n−1)/2, given n is the size of the sliding window and n is a odd number.


The graph module 404 enforces the dependency of the parsing tags of neighboring words using Viterbi algorithms. The graph module 404 calculates the likelihood score of a possible label sequence by combining the scores of nodes provided by the CNN module 403 and additional transition scores for edges of a graph. The score for an edge is defined as follows: if an edge is between two nodes and we label the first node “NP”, the second node “VP”, the edge will have a higher score than if you label both of them “VP”, because the edge is less likely to have two verb phrases in a row. All network and graph parameters are trained in a end-to-end way with a stochastic gradient maximizing a graph likelihood. The GTN based tagger 400 runs recursively to generate the parse tree level by level. For example, given the text in block 301, the three levels of parse trees 302, 303, and 304 are built by running the tagger 400 three time.


The following discussion describes in detail the method performed by the tagger 400.


Word Embeddings

Consider a fixed-sized word dictionary W, where unknown words are mapped to a special “UNKNOWN” word, and where numbers are mapped to a “NUMBER” word. Given a sentence of N words {w1,w2, . . . ,wN}, each word wNεW is first embedded into a D-dimensional vector space, by applying a lookup-table operation:












LT
W



(

w
n

)


=


W
×


(

0
,







0

,

1

at





index






w
n



,
0
,







0


)

T


=

W

w
n




,




(
1
)







where the matrix Wεcustom-characterDx|w| represents the parameters to be trained in this lookup layer. Each column Wnεcustom-characterD corresponds to the embedding of the nth word in the dictionary W. In view of the matrix-vector notation in equation (1), the lookup-table applied over the sentence can be seen as an efficient implementation of a convolution with a kernel width of size 1.


In practice, a word should be represented with more than one feature. In one embodiment, at least the lower case words and a “caps” feature:


wn=wnlowcaps,wncaps) are taken. In this embodiment, a different lookup-table is applied for each discrete feature LTwlowcaps,LTwcap), and the word embedding becomes the concatenation of the output of all the lookup-tables:






LT
Wwords(wn)=(LTWlowcaps(wnlowcaps)T,LTWcaps(wncaps)T.  (2)


For simplicity, the remainder of the description considers only one lookup-table.


Word Scoring

Scores for all tags T and all words in the sentence are produced by applying the convolutional neural network over the lookup-table embeddings of equation (1). More precisely, all successive windows of text (of size K) is considered, sliding over the sentence, from position 1 to N. At position n, the network is fed with the vector xn resulting from the concatenation of the embeddings:






x
n=(Wwn−(K−i)/2T, . . . ,Wwn+(K−i)/2T)T.


The words with indices exceeding the sentence boundaries (n−(K−1)/2)<1 or (n+(K−1)/2>N) are mapped to a special “PADDING” word. As with any neural network, the tagger of the present disclosure performs several matrix-vector operations on its inputs, interleaved with some non-linear transfer function h(·). The tagger outputs a vector of size |T| for each word at position n, interpreted as a score for each tag in T and each word wn in the sentence:






s(xn)=M2h(M1xn)  (3)


where the matrices M1εcustom-characterH×(KD) and M2εcustom-character|T|×H are the trained parameters of the network. The number of hidden units H is a hyper-parameter to be tuned. In one embodiment, the transfer function can comprise a hyperbolic tangent h(z)=tan h(z).


Long-Range Dependencies

The “window” approach described above assumes that the tag of a word is solely determined by the surrounding words in the window. This process works on short sentences but falls short on long sentences. Therefore, in an alternate embodiment of the tagger (the sentence process), all words {w1,w2, . . . ,wN} are considered for tagging a given word wn. To specify to the network that we want to tag the word an additional lookup-table is introduced in equation (2), which embeds the relative distance (m−n) of each word wm in the sentence with respect to wn. At each position 1≦m≧N, the outputs of the all lookup-tables in equation (2) (low caps word, caps, relative distance, etc.) LTWwords(wm) are first combined together by applying a mapping M0. A fixed-size “global” feature vector xn is then extracted by performing a max over the sentence:











[

x
n

]

i

=


max

1

m

N






[


M
0



LT
W



words


(

w
m

)



]

i




l







(
4
)







This feature vector is then fed to scoring layers in equation (3). The matrix M0 is trained by back-propagation, as with any other network parameter.


Structured Tag Inference

It is known that there are strong dependencies between parsing tags in a sentence: not only are tags organized in chunks, but some tags cannot follow other tags. It is, therefore, natural to infer tags from the scores in equation (3) using a structured output approach. Therefore, a transition score Atu, is used for jumping from tags tεT to uεT in successive words, and an initial score At0 is used for starting from the tth tag. The last module of the GTN tagger outputs a graph with |T|×N nodes Gtn (FIG. 5). Each node Gtn, is assigned a score s(xn) from the previous module (3) of the tagger. Given a pair of nodes Gtn and Gum, an edge is added with the transition score Atu on the graph. For compactness, sequence notation [t]1Ncustom-character{t1, . . . ,tn} is used for now. A tag path [t]1N is scored in the graph G, as the sum of scores along [t]1N in G:











S


(



[
w
]

1
N

,


[
t
]

1
N

,
θ

)


=




n
=
1

N







(


A


t

n
-
Σ




t
n



+


s


(

x
n

)



t
n



)



,




(
5
)







where θ represents all the trainable parameters of the GTN tagger (W, M1,M2 and A). The sentence tags [t*]1N are then inferred by finding the path which leads to the maximal score:











[

t
*

]

1
N

=



arg





max


|
t


|
1
N



ε






T
N











S


(



[
w
]

1
N

,


[
t
]

1
N

,
θ

)


.






(
6
)







The Viterbi algorithm can be used for this inference.



FIG. 5 illustrates a graph 500 outputted by the GTN tagger for the sentence 501 “yesterday the black cat sat,” with the implementation of tree constraints. Each path 503, 504, 505, and 506 of the graph represents the possible tagging for a current level of chunk tags, based on the tagging of a previously predicted level of chunk tags (path 502 in this example). The method of the present disclosure determines which tagging in paths 503, 504, 505, 506 is the most likely tagging for the current level of chunk tags. The graph module 404 calculates scores for them and selects or predicts the most likely tagging, and passes that tagging to the next level to be predicted. The chunk history 502 contains the noun phrase NP or chunk: “the black cat.” At the current level, the graph is constrained for the sections overlapping this chunk, such that new overlapping chunks include “the black cat,” and are strictly larger. The top candidate path 503 is taken when no chunk is found (0). The three next candidate paths 504, 505, and 506 relate to the candidate label VP. The graph contains similar triplets of paths (not shown) thr all the other labels,


All the parameters of the network θ are trained in an end-to-end manner as follows. Following the GTN tagger's training method, a probabilistic framework is considered, where a likelihood is maximized over all the sentences [w]1N in a training set, with respect to network θ. The score of equation (5) can be interpreted as a conditional probability over a path by taking it to the exponential (making it positive) and normalizing with respect to all possible paths (summing to 1 over all paths). Taking the log(·) leads to the following conditional log-probability:











log






p


(




[
t
]

1
N

|


[
w
]

1
N


,
θ

)



=


S


(



[
w
]

1
N

,


[
t
]

1
N

,
θ

)


-


logadd





[
u
]

1
N


ε






T
N










S


(



[
w
]

1
N

,


[
u
]

1
N

,
θ

)





,




(
7
)







where the notation logaddizi=log(Σiexi) is adopted. This likelihood is the same as the one found in Conditional Random Fields (CRFs) |17| over temporal sequences. The CRF model is however linear (which would correspond in our case to a linear neural network, with fixed word embeddings).


Computing the log-likelihood of equation (7) efficiently is not straightforward, as the number of terms in the logadd grows exponentially with the length of the sentence. Fortunately, in the same spirit as the Viterbi algorithm, one can compute it in linear time with the following classical recursion over n:














δ
n



(
ν
)






=
Δ




logadd

{



[
u
]

1
N



u

n
=
ν



}








S


(



[
w
]

1
n

,


[
u
]

1
n

,
θ

)












=


logadd
t








logadd


{




[
u
]

1
n



u

n
-
1



=


t


u
n


=
ν


}








S


(



[
w
]

1

n
-
1


,


[
u
]

1

n
-
1


,

θ
+

A


u

n
-
1



ν


+


s


(

x
n

)


ν



)














=



s


(

x
n

)


ν

+


logadd
t







(



δ

n
-
1




(
t
)


+

A

t





ν



)









ν



ε





T





,








(
8
)







followed by the termination logadd∀[u]sN S([w]1N),[u]1N, θ=logadduδN(u). As a comparison, the Viterbi algorithm used to perform the inference of equation (6) is achieved with the same recursion, but where the logadd is replaced by a max, and then tracking back the optimal path through each max.


Stochastic Gradient

The log-likelihood of equation (7) can be maximized using stochastic gradient ascent, which has the main advantage to be extremely scalable. Random training sentences [w]1N and their associated tag labeling [t]1N are iteratively selected. The following gradient step can then performed:





θ←+λ∂ log p([t]1N|[w]1N, θ)/∂θ,  (9)


where λ is a chosen learning rate. The gradient in equation (9) is efficiently computed via back-propagation: the differentiation chain rule is applied to the recursion of equation (8), and then to all network layers of equation (3), including the word embedding layers of equation (1).


The GTN tagger of the present disclosure is made “recursive” by adding an additional feature (and its corresponding lookup-table of equation (1)) describing a history of previous tree levels. For that purpose, all chunks which were discovered in previous tree levels are gathered. If several chunks were overlapping at different levels, only the largest one is considered. Assuming that Constraint 1 is true, a word can be at most in one of the remaining chunks. This is the history custom-character Another kind of history can be selected (e.g. a feature for each arbitrary chosen LEN previous levels), however, the proposed history for implementing Constraint 1 must be computed. The corresponding IOBES tags of each word are be fed as features to the GTN tagger. For instance, assuming the labeling in FIG. 3 was found up to Level 2, the chunks considered in history 9custom-character for tagging Level 3 would be only the NP around “stocks” and the VP around “kept falling”. The S and VP around “falling” would be discarded as they are included by the larger VP chunk.


Implementing Constraint 1 is now made easy using this history custom-character and a IOBES tagging scheme. For each chunk cεC, the graph outputted by the GTN is adapted such that any new candidate chunk {tilde over (c)} overlapping chunk c includes chunk c, and is larger than chunk c. For each candidate label (e.g., VP), multiple possible paths (FIG. 5) are created for the duration of chunk c. In the first path, both chunk c and candidate chunk {tilde over (c)} start at the same position. The first tag of candidate chunk {tilde over (c)} is then B-VP, and remaining tags overlapping with chunk c are maintained at I-VP. In this way, candidate chunk {tilde over (c)} has to end after chunk c. In the second path, both chunk c and candidate chunk {tilde over (c)} end at the same position. The last tag of candidate chunk {tilde over (c)} is then E-VP, and previous tags overlapping with chunk c are maintained at I-VP. In this way, candidate chunk {tilde over (c)} has to start before chunk c. In the third path, the candidate chunk {tilde over (c)} includes chunk c but does not start nor end at the same position. The path is maintained on I-VP while overlapping chunk c. As a result, it will start before and end after chunk c. In addition to these 3×|L| possible paths overlapping chunk c, there is an additional path where no chunk is found over chunk c, in which case all tags stay O while overlapping chunk c. Finally, as candidate chunk {tilde over (c)} must be strictly larger than chunk c, any S- tag is discarded for the duration of chunk c. Parts of the graph not overlapping with the chunk history custom-character remain fully connected, as previously described above.



FIG. 6 is a block diagram of an exemplary embodiment of a computer system 600 for implementing the method and tagger described herein. The computer system 600 includes at least one CPU 620, at least one memory 630 for storing one or more programs which are executable by the processor(s) 620 for implementing the method and tagger described herein, one or more inputs 640 for receiving input data, e.g., caps, tree history, etc., and an output 660 for outputting data, e.g., the graph with network scores provided for nodes of the graph and additional transition scores for edges of the graph.


While exemplary drawings and specific embodiments of the present disclosure have been described and illustrated, it is to be understood that that the scope of the invention as set forth in the claims is not to be limited to the particular embodiments discussed. Thus, the embodiments shall be regarded as illustrative rather than restrictive, and it should be understood that variations may be made in those embodiments by persons skilled in the art without departing from the scope of the invention as set forth in the claims that follow and their structural and functional equivalents.

Claims
  • 1. A method for generating a linguistic parse tree for a sentence, the method comprising the steps of: predicting in a computer process a first level of chunk tags for the sentence; andpredicting in a computer process at least a second level of chunk tags for the sentence using the first level or a previous level of chunk tags.
  • 2. The method of claim 1, wherein the predicting steps are performed by a Graph Transformer Network (GTN).
  • 3. The method of claim 2, wherein the GTN includes a deep convolutional neural network (CNN).
  • 4. The method of claim 3, wherein the CNN generates scores for potential chunk tags for words of the sentence.
  • 5. The method of claim 2, wherein for each level, further comprising the step of combining chunk tag scores of each word of a sequence words of the sentence, and transition scores between chunk tags of a pair of consecutive words to evaluate the score for the chunk tags of the sequence of words.
  • 6. The method of claim 5, wherein the combining step is performed with a Viterbi algorithm.
  • 7. The method of claim 2, wherein each of the predicting steps comprises the steps of: finding vectors for different features of words of the sentence; andcombining the vectors as a whole feature vector.
  • 8. The method of claim 2, wherein each of the predicting steps uses long range dependency in the form of a lookup table.
  • 9. The method of claim 1, wherein the step of predicting at least a second level of chunk tags is performed so that any chunk at a level overlapping a chunk at the at least the second level must span at least this over-lapped chunk, and be larger.
  • 10. The method of claim 1, wherein the determining steps are performed with a deep convolutional neural network (CNN).
  • 11. The method of claim 10, wherein the CNN generates scores for potential chunk tags for words of the sentence.
  • 12. The method of claim 1, wherein for each level, further comprising the step of combining chunk tag scores of each word of a sequence words of the sentence, and transition scores between chunk tags of a pair of consecutive words to evaluate the score for the chunk tags of the sequence of words.
  • 13. The method of claim 12, wherein the combining step is performed with a Viterbi algorithm.
  • 14. The method of claim 1, wherein each of the predicting steps comprises the steps of: finding vectors for different features of words of the sentence; andcombining the vectors as a whole feature vector.
  • 15. The method of claim 1, wherein each of the predicting steps uses long range dependency in the form of a lookup table.
  • 16. An apparatus for generating a linguistic parse tree for a sentence, the apparatus comprising: a processor executing instructions for: predicting a first level of chunk tags for the sentence; andpredicting at least a second level of chunk tags for the sentence using the first level or a previous level of chunk tags.
  • 17. An apparatus for generating a linguistic parse tree for a sentence, the apparatus comprising a Graph Transformer Network (GTN) for predicting a first level of chunk tags for the sentence, and predicting at least a second level of chunk tags for the sentence using the first level or a previous level of chunk tags.
  • 18. The apparatus of claim 17, wherein the GTN includes a deep convolutional neural network (CNN) for generating scores for potential chunk tags for words of the sentence.
  • 19. The apparatus of claim 17, wherein for each level, the GTN combines chunk tag scores of each word of a sequence words of the sentence, and transition scores between chunk tags of a pair of consecutive words to evaluate the score for the chunk tags of the sequence of words.
  • 20. The apparatus of claim 17, wherein the GTN predicts the levels of chunk tags by finding vectors for different features of words of the sentence; and combining the vectors as a whole feature vector.
  • 21. The apparatus of claim 17, wherein GTN uses long range dependency in the form of a lookup table to predict the levels of chunk tags.
RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application No. 61/350,580, filed Jun. 2, 2010, the entire disclosure of which is incorporated herein by reference.

Provisional Applications (1)
Number Date Country
61350580 Jun 2010 US