I am new in Gate develement and now I am trying to extract the fullName from JAPE rules in GATE developement. It is extracting - Namrata shahade Shahade Namrata Namrata N Shahade Namrata N. Shahade all these types of name, from the rule Phase:secondpass Input: FirstName LastName Token Options: control = appelt
Rule: FullName
Priority: 20
(
({FirstName}({Token.kind=="word"})?({Token.string=="."})?{LastName}) |
({LastName}({Token.kind=="word"})?{FirstName})
):label2
-->
:label2.FullName = {rule= "FullName" }
But the problem from rule is also detected mail name ie;namrata.Shahade@gmail.com, it is detecting namrata.shahade which is not correct. Please help to correct it. Thank you in advance.
