We need to remove keywords like Jr, Sr, II, III etc from a field.
"Richard Headley SR" should be changed to "Richard Headley"
"Richard SR Headley" should be changed to "Richard Headley"
"Sr Richard Headley" should be changed to "Richard Headley"
"Siva Sriram" should be kept as "Siva Sriram" -- Here we have "sr" but it didn't replace that.
"Sriram Krishnan" should be kept as "Sriram Krishnan"
Our requirement will have at least 50 diffrent keywords.
Please provide the way to implement this functionality.
Re: Removing some special words2008-05-30T23:12:47ZThis is the accepted answer. This is the accepted answer.The various NAME RuleSets should identify these as NameGeneration and tokenize them as G.
Either use a Rule Override to remove this token or modify the pattern action.
Re: Removing some special words2008-09-10T10:05:45ZThis is the accepted answer. This is the accepted answer.hi ,
classify all the keywords as G or whatever in your classification table.
in pattern action file , search for that G and retype to 0.
retype  0
try this and let me know..
this wont find sr in srikrishna.. if any toke appear seperately as 'sr'. then it will find those and make it null and those values won't come after that in your pattern.
place the above code before subroutine calls ...
Re: Removing some special words2008-11-05T22:14:40ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
Additionally, the code should be specific since JR, II, Junior, Senior all would be caught with the suggestion by vairamuthu
*G = T = "SR"
retype  0