Hi Adam
i am uising IBM UIMA in eclipse 3.2 .do i need to cahngs
from it.do i need really change from it to apache version.
yes i have noticed ur comment,i will work on it
today.still i have not got the example what u said. which is ""
ExampleApplication.java's"".i will look in to it
vijay
On 9/13/07, Adam Lally <[EMAIL PROTECTED]> wrote:
>
> On 9/13/07, vijay vijay <[EMAIL PROTECTED]> wrote:
> > Hi Adam Lally ,
> >
> > as per ur code below i have tried
> >
> >
> > analysisEngine.setConfigParameterValue("StringsToAnnotate",
> > new String[] {"Michael","UIMA","Vijay",....}); but it is
> > giving anerror like analysisEngine cannot be resolved. i am attching the
> > class what i wrote.
> >
>
> Vijay,
>
> The setConfigParameterValue call does not go in the annotator. It
> goes in your main program. The idea is that the main program sets the
> configuration parameter values before calling the annotator. It
> wouldn't make any sense for the annotator code to set its own
> configuration parameter values, then it might as well just hardcode
> the values it was searching for!
>
> Did you look at ExampleApplication.java yet? You asked how to write a
> Main program, and you were on the right track with that. In
> ExampleApplication.java's main method you have this line of code:
>
> AnalysisEngine ae = UIMAFramework.produceAnalysisEngine(specifier);
>
> And you would put after it:
>
> ae.setConfigParameterValue("StringsToAnnotate", new String[]
> {"Michael","UIMA","Vijay"});
>
> Regards,
> -Adam
>