If it possible i have a problem if you have any solution or idea :

I have an external file that contains a list of persons names, for example
:

adam
smith
lary
page
jorge
wolker
buch


and I need to extract all persons names from others source (Text
Documents),
for example :
 "Lary Page is the creator of google and Adam Smith is an economist and
jorge wolker bush is the ...."
The annotator shoul extract <Adam Smith> and <Lary Page> as  person name
and also <Jorge Wolker Bush>
I have created two annotator :

PersonAnnotator that record person names from source
SpacePonctuationAnnotator

I want to have a config file where i will put some rules to extract person
names such as

rule 1 : [person]
rule 2 : [person][space] [person]
rule 2 : [person][space][person][space][person]

 what I can do ?

Best regards
-Yassine

Reply via email to