Hi adam,
at last i found the java class,so i just added that class to
my project wrote as a java
class,there i am getting an lke this
Usage: java com.ibm.uima.example.ExampleApplication <TAE descriptor or TEAR
file name> <input dir> <output dir>""
actually i have tried this when i am doing my first example i got the same
error .now i have given here like this
System.*err*.println("Usage: java com.ibm.uima.example.ExampleApplication "+
"<AnalysisEngine.xml> + <D:"\"eclipse\vijay\workspace\exampleApplication\input>
<D:"\"eclipse\vijay\workspace\exampleApplication\output>")
i am getting an error like this
"Syntax error, insert ")" to complete MethodInvocation".
i have tried not my best.
AND my aim also develop full fleged compnent to search for unstructured
data,my people want to use this as search tool in their project.this one is
ultimate goal.
i don't how far i am going to suceed in this but i want give my best with ur
support.......
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
>