Method for named-entity recognition and verification

A method for named-entity (NE) recognition and verification is provided. The method can extract at least one to-be-tested segments from an article according to a text window, and use a predefined grammar to parse the at least one to-be-tested segments to remove ill-formed ones. Then, a statistical verification model is used to calculate the confidence measurement of each to-be-tested segment to determine where the to-be-tested segment has a named-entity or not. If the confidence measurement is less than a predefined threshold, the to-be-tested segment will be rejected. Otherwise, it will be accepted.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a method for named-entity recognition and verification, and more particularly, to a method for named-entity recognition and verification suitable for different languages and application fields.

[0003] 2. Description of Related Art

[0004] As for information processing, named-entity (NE) recognition is an important task for many natural language applications, such as Internet search engines, document indexing, information extraction and machine translation, so as to find the entities of person, location, organization, date, time, percentage and monetary value in text documents. Moreover, in oriental languages (such as Chinese, Japanese and Korean), NE recognition is even more important because it significantly affects the performance of word segmentation, the most fundamental task for understanding the texts in oriental languages. To provide better performance, it is therefore important to accurately combine the information of named-entity with the aforementioned natural language application.

[0005] There are two major approaches to NE recognition: the handcrafted approach and the statistical approach. In the first approach, a system usually relies on a large number of handcrafted rules. For example, if the term “Mayor” appears in the text, and the next word is a given name, the system will determine the subsequent words to be a family name. These type of systems can be rapidly prototyped for the computer to process texts with ease. But the shortcoming is such that the number of rules may be increased rapidly, and thus the systems will be harder to maintain and difficult to scale up. Another serious problem with the handcrafted approach is that the system is hard to be ported across different domains (for example, a system originally designed to search for people's name being ported to search for toponym) and different languages. Porting a handcrafted system usually means rewriting all its rules.

[0006] To eliminate the above problems, the statistical approach was developed. In general, the statistical approach to NE recognition can be viewed as a two-stage process. First, according to dictionaries and/or pattern matching rules, the input text is tokenized into tokens. Each token may be a word or an NE candidate which can consist of more than one word. Then, a statistical model, such as N-gram model, is used to select the most likely token sequence. Finally, the tokens labeled as NE candidates are picked out from the most likely token sequence. Although, the statistical NE recognition is much more scaleable and portable, its performance is still not satisfactory. Furthermore, the design of each matching rule will significantly influence the final result. A similar problem is encountered in which the number of rules is getting more and the system is getting larger. Therefore, the above conventional named-entity recognition methods desired to be improved.

SUMMARY OF THE INVENTION

[0007] An object of the present invention is to provide a method for named-entity recognition and verification, which utilizes a statistical verification model of optimal hypothesis test to establish a verification model so as to identify and verify the named-entity from the context.

[0008] Another object of the present invention is to provide a method for named-entity recognition and verification, which can simplify the programming and increase the portability to other named-entity recognition domains.

[0009] A further object of the present invention is to provide a method for named-entity recognition and verification, which makes the segmentation of the text with ease and therefore increases the verifiability.

[0010] To achieve these and other objects of the present invention, the method for method for named-entity recognition and verification comprises the steps of: (A) segmenting text data from an article into at least one to-be-tested segments according to a text window; (B) parsing the to-be-tested segments to remove ill-formed segments from the to-be-tested segments according to a predefined grammar; (C) using a hypothesis test to access a confidence measure of each to-be-tested segment, wherein the confidence measure is determined from dividing a probability of assuming that the to-be-tested segment has a named-entity by a probability of assuming that the to-be-tested segment doesn't have a named-entity; and (D) determining that the to-be-tested segment has a named-entity if the confidence measure is greater than a predefined threshold.

[0011] Other objects, advantages, and novel features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0012] FIG. 1 is a flow chart showing the operation of the present invention;

[0013] FIG. 2 is a schematic drawing showing a to-be-tested segment extracted according to a text window of the present invention;

[0014] FIG. 3 is a schematic drawing showing a parsing tree formed according to the candidate of the to-be-tested segment illustrated in FIG. 2; and

[0015] FIG. 4 is a flow chart illustrating the process of determining the confidence measure of the to-be-tested segment according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

[0016] With reference to FIG. 1, there is shown a flow chart of the named-entity recognition and verification method in accordance with a preferred embodiment of the present invention. First, text data from an article will be segmented into at least one to-be-tested segment according to a text window (step S101). In this embodiment, the predefined text window has seven words as shown in FIG. 2, wherein the text window comprises a candidate and its left and right contexts, where the named-entity of the to-be-tested segment corresponds to the candidate. The whole text window can be expressed as a random vector 1 O = ( o L , 1 L , x , o C , 1 C , y , o R , 1 R , z ) ,

[0017] where 2 o C , 1 C , y

[0018] is the candidate composed of random variables “oc,1, oc,2 . . . , Oc,y”; 3 o L , 1 L , x

[0019] is the left context of the candidate composed of random variables “oL,1, oL,2 . . . , oL,x”; 4 o R , 1 R , z

[0020] is the right context of the candidate composed of random variables “oR,1, oR,2 . . . , oR,z”; and x, y, and z are the number of characters in accordance with 5 o C , 1 C , y , o L , 1 L , x

[0021] and 6 o R , 1 R , z

[0022] In this embodiment, x=z=2, and y=3. However, in other cases, the number of random variables can be varied according to the type of named-entities.

[0023] This embodiment is used to determine whether an article has a person's name or not. Each random variable is an English word. For example, an article of“the Taipei mayor Ying Jeou Ma declared that the city government will hold a . . .” can be segmented into a plurality of to-be-tested segments in turn according to the predefined text window, including “the Taipei mayor Ying Jeou Ma declared”, “Taipei mayor Ying Jeou Ma declared that”, “mayor Ying Jeou Ma declared that the”, and so on. Each to-be-tested segment has a candidate and its left and right contexts.

[0024] In this embodiment, the to-be-tested segment 10 is “Taipei mayor Ying Jeou Ma declared that”, where “Ying Jeou Ma” is the candidate 7 o C , 1 C , 3 ,

[0025] “Taipei mayor” is the left context 8 o L , 1 L , 2 ,

[0026] and “declared that” is the right context 9 o R , 1 R , 2 .

[0027] Furthermore, the method according to the present invention can also be used in Chinese, wherein each random variable is a Chinese character. Of course the method can be used in Eastern languages such as Korean or Japanese.

[0028] According to the above method, a plurality of to-be-tested segments can be extracted from an article according to the text window. As a result of recognizing and verifying whether the candidate is a person's name, the to-be-tested segments will be parsed by a predefined grammar to remove ill-formed to-be-tested segments (step S102). With reference to FIG. 3, there is shown a parsing tree 20 formed according to the candidate of the to-be-tested segment 10 illustrated in FIG. 2. With the rule of giving names, it is known that the last word is always the family name. Therefore, if there is a punctuation mark or an ill-formed word for a family name shown in the random variable Oc,3, the rule of giving names is not satisfied. Likewise, if there is a punctuation mark or any ill-formed word shown in the random variable Oc,1 and Oc,2, the rule of giving names is not satisfied. When the candidate of the to-be-tested segment does not conform to the rule of giving names, it indicates that the candidate does not include named-entity, and thus the to-be-tested segment is removed and the process is terminated.

[0029] If the to-be-tested segment conforms to the rule of giving names, a hypothesis test is used to determine a confidence measure of each to-be-tested segment to have a named-entity (step S103). In this embodiment, the confidence measure is determined by using Neyman-Pearson Lemma theory, and is obtained from dividing a probability of assuming that the to-be-tested segment has a named-entity by a probability of assuming that the to-be-tested segment doesn't have a named-entity.

[0030] In the hypothesis test, a null hypothesis (H0) assumes that the to-be-tested segment has a named-entity, and an alternative hypothesis (H1) assumes that the to-be-tested segment doesn't have a named-entity. Therefore, according to the above hypothesis, it is able to obtain the log likelihood ratio of the confidence measure as follows: 10 LLR ⁡ ( o L , 1 L , x , o C , 1 C , y , o R , 1 R , z ) = log ⁢   ⁢ P ⁡ ( o L , 1 L , x , o C , 1 C , y , o R , 1 R , z | H 0 ) P ⁡ ( o L , 1 L , x , o C , 1 C , y , o R , 1 R , z | H 1 ) ⁢   ⁢ ( i . e . , log ⁢   ⁢ P ⁡ ( o L , 1 L , x , o C , 1 C , y , o R , 1 R , z | H 0 ) - log ⁢   ⁢ P ⁡ ( o L , 1 L , x , o C , 1 C , y , o R , 1 R , z | H 1 ) ) ,

[0031] where 11 P ⁡ ( o L ,   ⁢ 1 L ,   ⁢ x ,   ⁢ o C ,   ⁢ 1 C ,   ⁢ y ,   ⁢ o R ,   ⁢ 1 R ,   ⁢ z | H 0 )

[0032] is the probability of assuming that the to-be-tested segment has a named-entity, and 12 P ⁡ ( o L ,   ⁢ 1 L ,   ⁢ x ,   ⁢ o C ,   ⁢ 1 C ,   ⁢ y ,   ⁢ o R ,   ⁢ 1 R ,   ⁢ z | H 1 )

[0033] is the probability of assuming that the to-be-tested segment does not have a named-entity.

[0034] Due to a large amount of data involved in determining the probabilities, it is infeasible to precisely determine the probability 13 P ⁡ ( o L ,   ⁢ 1 L ,   ⁢ x ,   ⁢ o C ,   ⁢ 1 C ,   ⁢ y ⁢ ,   ⁢ o R ,   ⁢ 1 R ⁣ ,   ⁢ z ⁢   | H 0 ) ⁢   ⁢ and ⁢   ⁢ P ( o L ,   ⁢ 1 L ,   ⁢ x ,   ⁢ o C ,   ⁢ 1 C ,   ⁢ y ,   ⁢ o R ,   ⁢ 1 R ,   ⁢ z | H 1 ) , ⁢  

[0035] and thus a hypothesis model is built to estimate the probabilities. With reference to FIG. 4, in the null hypothesis H0, a NE model assuming that the to-be-tested segment has a named-entity is provided to determine the value of 14 P ⁡ ( o L ,   ⁢ 1 L ,   ⁢ x ,   ⁢ o C ,   ⁢ 1 C ,   ⁢ y ,   ⁢ o R ,   ⁢ 1 R ,   ⁢ z | H 0 )

[0036] (step S401), wherein 15 P ⁡ ( o L ,   ⁢ 1 L ,   ⁢ x ,   ⁢ o C ,   ⁢ 1 C ,   ⁢ y ,   ⁢ o R ,   ⁢ 1 R ,   ⁢ z | H 0 )

[0037] is approximated as follows: 16 P ⁡ ( o L ,   ⁢ 1 L ,   ⁢ x ,   ⁢ o C ,   ⁢ 1 C ,   ⁢ y ,   ⁢ o R ,   ⁢ 1 R ,   ⁢ z | H 0 ) ≡ P 0 ⁡ ( o L ,   ⁢ 1 L ,   ⁢ x ,   ⁢ o C ,   ⁢ 1 C ,   ⁢ y ,   ⁢ o R ,   ⁢ 1 R ,   ⁢ z ) ≈ P 0 ⁡ ( o L ,   ⁢ 1 L ,   ⁢ x ) ⁢ P 0 ⁡ ( o C ,   ⁢ 1 C ,   ⁢ y ) ⁢ P 0 ⁡ ( o R ,   ⁢ 1 R ,   ⁢ z ) ,

[0038] where P0 is the probability of the null hypothesis being true. The probability 17 P 0 ⁡ ( o L ,   ⁢ 1 L ,   ⁢ x )

[0039] is further approximated according to the N-gram model as follows: 18 P 0 ⁡ ( o L ,   ⁢ 1 L ,   ⁢ x ) ≈ ⁢ ∏ i = 1 x ⁢   ⁢ P 0 ⁡ ( o L ⁣ ,   ⁢ i ⁢   | o L ,   ⁢ i - N + 1 L ,   ⁢ i - 1 ) P 0 ⁡ ( o L ,   ⁢ i | o L ,   ⁢ i - N + 1 L ,   ⁢ i - 1 ) = ⁢ { P 0 ⁡ ( o L ,   ⁢ i | o L ,   ⁢ 1 L ,   ⁢ i - 1 ) ,   ⁢ if ⁢   ⁢ N > 1 ⁢   ⁢ and ⁢   ⁢ i > 1 ⁢   ⁢ and ⁢   ⁢ i - N ≤ 0 P 0 ⁡ ( o L ,   ⁢ i ) ,   ⁢ if ⁢   ⁢ N = 1 ⁢   ⁢ or ⁢   ⁢ i = 1

[0040] where N is positive integer. It is noted that the random sequence 19 o L ,   ⁢ 1 L ,   ⁢ x

[0041] is not necessary to be time invariant. For example, in the case of N=2, the probability P0 (oL,i=x|oL,i−1=y) is not assumed to be equal to P0(oL,2=x|oL,1=y) for i>3.

[0042] Likewise, the probability 20 P 0 ⁡ ( o R ,   ⁢ 1 R ,   ⁢ z )

[0043] is also further approximated as follows: 21 P 0 ⁡ ( o ⁢ R , z R , 1 ) ≈ ∏ z i = 1 ⁢ P 0 ⁡ ( o R , i ⁢   | o ⁢ R , i - 1 R , i - N + 1 ) , ⁢ P 0 ⁡ ( o R , i ⁢   | o ⁢ R , i - 1 R , i - N + 1 ) = { P 0 ⁡ ( o R , i | o ⁢ R , i - 1 R , 1 ) , if ⁢   ⁢ N > 1 ⁢   ⁢ and ⁢   ⁢ i > 1 ⁢   ⁢ and ⁢   ⁢ i - N ≤ 0 ⁢ P 0 ⁡ ( o R , i ) , if ⁢   ⁢ N = 1 ⁢   ⁢ or ⁢   ⁢ i = 1 ,

[0044] where N is positive integer.

[0045] The probability corresponding to the candidate is evaluated by applying the SCFG (Stochastic Context-free Grammar) as follows: 22 P 0 ⁡ ( o ⁢ C , y C , 1 ) = ∑ T   ⁢   ⁢ P 0 ⁡ ( T ) ≈ max T ⁢ P 0 ⁡ ( T ) = max T ⁢ ∏ A -> α ∈ T ⁢ P 0 ⁡ ( α | A ) ,

[0046] where T stands for one possible parse tree that derives the candidate, A→&agr; indicates a grammar rule in the parse tree T, ‘A’ stands for the left-hand-side symbol of the rule, and &agr; stands for the sequence of right-hand-side symbols of the rule.

[0047] FIG. 3 shows an example of a parse tree 20 of the candidate “Ying Jeou Ma”.

[0048] Based on the above hypothesis, it is able to obtain the NE model 23 S NE ⁡ ( o ⁢ L , x L , 1 , o ⁢ C , y C , 1 , o ⁢ R , z R , 1 )

[0049] as: 24 S NE ⁡ ( o ⁢ L , x L , 1 , o ⁢ C , y C , 1 , o ⁢ R , z R , 1 ) = ∑ i = 1 x ⁢   ⁢ log ⁢   ⁢ P 0 ⁡ ( o L , i | o ⁢ L , i - 1 L , i - N + 1 ) + ∑ i = 1 z ⁢   ⁢ log ⁢   ⁢ P 0 ⁡ ( o R , i | o ⁢ R , i - 1 R , i - N + 1 ) + max T ⁢ ∑ A -> α ∈ T   ⁢ log ⁢   ⁢ P 0 ⁡ ( α | A ) .

[0050] While in the alternative hypothesis H1, an anti-NE model assuming that the to-be-tested segment does not have a named-entity is provided to determine the value of log 25 P ⁡ ( o ⁢ L , x L , 1 , o ⁢ C , y C , 1 , o ⁢ R , z R , 1 | H 1 )

[0051] (step S402), wherein log 26 P ⁡ ( o ⁢ L , x L , 1 , o ⁢ C , y C , 1 , o ⁢ R , z R , 1 | H 1 )

[0052] is approximated as follows: 27 P ⁡ ( o ⁢ L , x L , 1 , o ⁢ C , y C , 1 , o ⁢ R , z R , 1 | H 1 ) = P 1 ⁡ ( o ⁢ L , x L , 1 , o ⁢ C , y C , 1 , o ⁢ R , z R , 1 ) ≈ ∏ x i = 1 ⁢ P 1 ⁡ ( o L , i | o ⁢ L , i - 1 L , i - N + 1 ) × ∏ y i = 1 ⁢ P 1 ⁡ ( o C , i | o ⁢ C , i - 1 C , i - N + 1 ) × ∏ z i = 1 ⁢ P 1 ⁡ ( o R , i | o ⁢ R , i - 1 R , i - N + 1 ) ,

[0053] where N is a positive integer and 28 { o R , j = o C , y + j if ⁢   ⁢ j = 0 , - 1 , - 2 ⁢   ⁢ … o C , j = o L , x + j if ⁢   ⁢ j = 0 , - 1 , - 2 ⁢   ⁢ … ⁢ ⁢ and ⁢ ⁢ P 1 ⁡ ( o L , i | o ⁢ L , i - 1 L , i - N + 1 ) = { P 1 ⁡ ( o L , i | o ⁢ L , i - 1 L , 1 ) , if ⁢   ⁢ N > 1 ⁢   ⁢ and ⁢   ⁢ i > 1 ⁢   ⁢ and ⁢   ⁢ i - N ≤ 0 P 1 ⁡ ( o L , i ) , ⁢ if ⁢   ⁢ N = 1 ⁢   ⁢ or ⁢   ⁢ i = 1 .

[0054] Therefore, based on the above hypothesis, it is able to obtain the anti-NE model 29 S anti - NE ⁡ ( o ⁢ L , x L , 1 , o ⁢ C , y C , 1 , o ⁢ R , z R , 1 )

[0055] as: 30 S anti - NE ⁡ ( o ⁢ L , x L , 1 , o ⁢ C , y C , 1 , o ⁢ R , z R , 1 ) = ∑ i = 1 x ⁢   ⁢ log ⁢   ⁢ P 1 ⁡ ( o L , i | o ⁢ L , i - 1 L , i - N + 1 ) + ∑ i = 1 y ⁢   ⁢ log ⁢   ⁢ P 1 ⁡ ( o C , i | o ⁢ C , i - 1 C , i - N + 1 ) + ∑ i = 1 z ⁢   ⁢ log ⁢   ⁢ P 1 ⁡ ( o R , i | o ⁢ R , i - 1 R , i - N + 1 ) .

[0056] Then, the hypothesis test is performed by comparing the log likelihood ratio 31 LLR ⁡ ( O ⁢ L , x L , 1 , O ⁢ C , y C , 1 , O ⁢ R , z R , 1 )

[0057] to a predefined critical threshold &dgr; (step S104). If 32 LLR ⁡ ( O ⁢ L , x L , 1 , O ⁢ C , y C , 1 , O ⁢ R , z R , 1 ) ≧ δ ,

[0058] , the null hypothesis H0 is accepted, representing that the to-be-tested segment includes a named-entity (step S105). If 33 LLR ⁡ ( O ⁢ L , x L , 1 , O ⁢ C , y C , 1 , O ⁢ R , z R , 1 ) < δ ,

[0059] , the null hypothesis H0 is rejected, representing that the to-be-tested segment does not include a named-entity (step S106).

[0060] In view of the foregoing, it is known that the present invention provides a statistical verification model for solving the problem of named-entity recognition. This model determines the confidence measure of a name candidate not only according to the candidate's structure but also according to its contexts. In the present invention, the clues for confidence measurement are collected from both positive and negative examples in the training data in a statistical manner. As a result, the proposed model can be easily applied to different application domains of different languages.

[0061] Although the present invention has been explained in relation to its preferred embodiment, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.

Claims

1. A method for named-entity recognition and verification, comprising the steps of:

(A) segmenting text data from an article into at least one to-be-tested segments according to a text window;
(B) parsing the to-be-tested segments to remove ill-formed segments from the to-be-tested segments according to a predefined grammar;
(C) using a hypothesis test to assess a confidence measure of each to-be-tested segment, wherein the confidence measure is determined from dividing a probability of assuming that the to-be-tested segment has a named-entity by a probability of assuming that the to-be-tested segment doesn't have a named-entity; and
(D) determining that the to-be-tested segment has a named-entity if the confidence measure is greater than a predefined threshold.

2. The method as claimed in claim 1, wherein the text window has a plurality of random variables.

3. The method as claimed in claim 2, wherein the random variables have a candidate and its left and right contexts, and the named-entity of the to-be-tested segment corresponds to the candidate.

4. The method as claimed in claim 3, wherein the text window is

34 O = ( O ⁢ L, x L, 1, O ⁢ C, y C, 1, O ⁢ R, z R, 1 ),
, where
35 O ⁢ C, y C, 1
is the candidate,
36 O ⁢ L, x L, 1
is the left context of the candidate, and
37 O ⁢ R, z R, 1
is the right context of the candidate.

5. The method as claimed in claim 4, wherein in step (D), the confidence measure is determined by using Neyman-Pearson Lemma.

6. The method as claimed in claim 5, wherein the confidence measure for determining whether the to-be-tested segment has the named-entity is

38 LLR ⁡ ( O ⁢ L, x L, 1, O ⁢ C, y C, 1, O ⁢ R, z R, 1 ) = log ⁢ P ⁡ ( O ⁢ L, x L, 1, O ⁢ C, y C, 1, O ⁢ R, z R, 1 | H 0 ) P ⁡ ( O ⁢ L, x L, 1, O ⁢ C, y C, 1, O ⁢ R, z R, 1 | H 1 ),
, where
39 P ⁡ ( O ⁢ L, x L, 1, O ⁢ C, y C, 1, O ⁢ R, z R, 1 | H 0 )
is probability of assuming that the to-be-tested segment has a named-entity, and
40 P ⁡ ( O ⁢ L, x L, 1, O ⁢ C, y C, 1, O ⁢ R, z R, 1 | H 1 )
is probability of assuming that the to-be-tested segment doesn't have a named-entity.

7. The method as claimed in claim 6, wherein a named-entity model (NE model) is used to determine log

41 P ⁡ ( o L, 1 L, x, o C1 C, y, o R, 1 R, z | H 0 ),
, where
42 P ⁡ ( o L, 1 L, x, o C1 C, y, o R, 1 R, z | H 0 )
approximates to
43 P 0 ⁡ ( o L, 1 L, x, o C1 C, y, o R, 1 R, z ),
, and
44 P 0 ⁡ ( o L, 1 L, x, o C1 C, y, o R, 1 R, z )
approximates to
45 P 0 ⁡ ( o L, 1 L, x ) ⁢ P 0 ⁡ ( o C1 C, y ) ⁢ P 0 ⁡ ( o R, 1 R, z ).

8. The method as claimed in claim 7, wherein

46 P 0 ⁡ ( o L, 1 L, x )
approximates to
47 ∏ i = 1 x ⁢   ⁢ P 0 ⁡ ( o L, i | o L, i - N + 1 L, i - 1 ),
, and
48 P 0 ⁡ ( o L, i | o L, i - N + 1 L, i - 1 )
equals to
49 { P 0 ⁡ ( o L, i | o L, 1 L, i - 1 ), if ⁢   ⁢ N > 1 ⁢   ⁢ and ⁢   ⁢ i > 1 and ⁢   ⁢ i - N ≤ 0 P 0 ⁡ ( o L, i ), ⁢   if ⁢   ⁢ N = 1 ⁢   ⁢ or ⁢   ⁢ i = 1 ⁢    ,
, where N is a positive integer.

9. The method as claimed in claim 7, wherein

50 P 0 ⁡ ( o R, 1 R, z )
approximates to
51 ∏ i = 1 2 ⁢   ⁢ P 0 ( o R, i ⁢ &LeftBracketingBar; o R, i - N + 1 R, i - 1 ),
, and
52 P 0 ( o R, i ⁢ &LeftBracketingBar; o R, i - N + 1 R, i - 1 )
equals to
53 { P 0 ⁡ ( o R, i ⁢ &LeftBracketingBar; o R, 1 R, i - 1 ), if ⁢   ⁢ N > 1 ⁢   ⁢ and ⁢   ⁢ i > 1 ⁢   ⁢ and ⁢   ⁢ i - N ≤ 0 P 0 ⁡ ( o R, i ), if ⁢   ⁢ N = 1 ⁢   ⁢ or ⁢   ⁢   ⁢ i = 1 ⁢  ,
, where N is a positive integer.

10. The method as claimed in claim 7, wherein

54 P 0 ⁡ ( o C, 1 C, y )
equals to
55 ∑ T ⁢ P 0 ⁡ ( T ),
, and
56 ∑ T ⁢ P 0 ⁡ ( T )
approximates to
57 max T ⁢ P 0 ⁡ ( T ) = max T ⁢ ∏ A → α ∈ T   ⁢   ⁢ P 0 ⁡ ( α | A ),
, where T is a possible parsing tree, and A→&agr; is a rule in the parsing tree T.

11. The method as claimed in claim 10, wherein the NE model

58 S NE ⁡ ( o L,   ⁢ 1 L,   ⁢ x,   ⁢ o C,   ⁢ 1 C,   ⁢ y,   ⁢ o R,   ⁢ 1 R,   ⁢ z ) ⁢   ⁢ is ⁢   ⁢ ∑ i = 1 x ⁢   ⁢ log ⁢   ⁢ P 0 ⁡ ( o L,   ⁢ i | o L,   ⁢ i - N + 1 L,   ⁢ i - 1 ) + ∑ i = 1 z ⁢   ⁢ log ⁢   ⁢ P 0 ⁡ ( o R,   ⁢ i | o R,   ⁢ i - N + 1 R,   ⁢ i - 1 ) + max T ⁢ ∑ A -> α ∈ T   ⁢   ⁢ log ⁢   ⁢ P 0 ⁡ ( α | A ) ⁢  .

12. The method as claimed in claim 6, wherein an anti-named-entity model (anti-NE model) is used to determine log

59 P ⁡ ( o L,   ⁢ 1 L,   ⁢ x,   ⁢ o C,   ⁢ 1 C,   ⁢ y,   ⁢ o R,   ⁢ 1 R,   ⁢ z | H 1 ),
, where
60 P ( o L, 1 L, x, o C, 1 C, y, o R, 1 R, z ⁢ &LeftBracketingBar; H 1 ) ⁢   ⁢ is ⁢   ⁢ P 1 ⁡ ( o L, 1 L, x, o C, 1 C, y, o R, 1 R, z ), P 1 ⁡ ( o L, 1 L, x, o C, 1 C, y, o R, 1 R, z )
approximates to
61 ∏ i = 1 x ⁢   ⁢ P 1 ( o L, i ⁢ &LeftBracketingBar; o L, i - N + 1 L, i - 1 ) × ∏ i = 1 y ⁢   ⁢ P 1 ( o C, i ⁢ &LeftBracketingBar; o C, i - N + 1 C, i - 1 ) × ∏ i = 1 z ⁢   ⁢ P 1 ( o R, i ⁢ &LeftBracketingBar; o R, i - N + 1 R, i - 1 ),
, and N is a positive integer.

13. The method as claimed in claim 12, wherein OR,j equals to OC,y+j if j=0, −1,−2,..., oC,j equals to oL,x+j if j=0, −1, −2,..., and

62 P 1 ⁡ ( o L, i ⁢ &LeftBracketingBar; o L, i - N + 1 L, i - 1 )
equals to
63 { P 1 ⁡ ( o L, i ⁢ &LeftBracketingBar; o L, 1 L, i - 1 ), if ⁢   ⁢ N > 1 ⁢   ⁢ and ⁢   ⁢ i > 1 ⁢   ⁢ and ⁢   ⁢ i - N ≤ 0 P 1 ⁡ ( o L, i ), if ⁢   ⁢ N = 1 ⁢   ⁢ or ⁢   ⁢   ⁢ i = 1 ⁢  .

14. The method as claimed in claim 12, wherein the anti-NE model

64 S anti - NE ⁡ ( o L,   ⁢ 1 L,   ⁢ x,   ⁢ o C,   ⁢ 1 C,   ⁢ y,   ⁢ o R,   ⁢ 1 R ⁢,   ⁢ z ) ⁢   ⁢ is ⁢   ⁢ ∑ i = 1 x ⁢   ⁢ log ⁢   ⁢ P 1 ⁡ ( o L,   ⁢ i | o L,   ⁢ i - N + 1 L,   ⁢ i - 1 ) + ∑ i = 1 y ⁢   ⁢ log ⁢   ⁢ P 1 ⁡ ( o C,   ⁢ i | o C,   ⁢ i - N + 1 C,   ⁢ i - 1 ) + ∑ i = 1 z ⁢   ⁢ log ⁢   ⁢ P 1 ⁡ ( o R,   ⁢ i | o R,   ⁢ i - N + 1 R,   ⁢ i - 1 ) ⁢  . ⁢  

15. The method as claimed in claim 4, wherein the candidate

65 o C,   ⁢ 1 C,   ⁢ y
is composed of random variables oc,1, oc,2..., and oc,y, where y is the number of characters of the candidate.

16. The method as claimed in claim 4, wherein the left context

66 o L,   ⁢ 1 L,   ⁢ x
is composed of random variables oL,1, oL,2..., and oL,x, where x is the number of characters of the left context.

17. The method as claimed in claim 4, wherein the right context

67 o R,   ⁢ 1 R ⁢,   ⁢   ⁢ z
is composed of random variables oR,1, oR,2..., and oR,z, where z is the number of characters of the right context.

18. The method as claimed in claim 2, wherein each random variable is a Chinese character.

19. The method as claimed in claim 2, wherein each random variable is an English word.

Patent History
Publication number: 20030208354
Type: Application
Filed: Aug 26, 2002
Publication Date: Nov 6, 2003
Patent Grant number: 7171350
Applicant: Industrial Technology Research Institute (Hsinchu)
Inventors: Yi-Chung Lin (Keelung City), Peng-Hsiang Hung (Kaohsiung City)
Application Number: 10227470
Classifications
Current U.S. Class: Natural Language (704/9)
International Classification: G06F017/27;