I'm not sure what exactly was your question... but please look at the JavaDoc for the setConfigParameterValue() method

 /**
* Sets the value of a configuration parameter. This only works for a parameter that is not * defined in any group. Note that there is no guarantee that the change will take effect until
  * [EMAIL PROTECTED] #reconfigure()} is called.
  *
  * @param aParamName
  *          the name of a parameter that is not in any group
  * @param aValue
  *          the value to assign to the parameter
  */
 public void setConfigParameterValue(String aParamName, Object aValue);

I don't see any reconfigure() call in your application. You may also have to implement reconfigure() in your annotator!

-- Michael

vijay vijay wrote:
HI
     *Michael Baessler*
i got the source code(UIMA EXAMPLES) for what i am loking for. Adam amd matt are helping me.i will send u my ExampleApplication which is copied from source code of ExampleApplication.it is working but it is not reading what i want. so Michael if u have time just go through it tell me what to do.
My exact douat is here
ae.setConfigParameterValue("StringsToAnnotate", *new* String[]

{"Michael","UIMA","Vijay" });

here i am frowarding it as configaration parameter but it is not reading these strings.insted it is reading from the analysis enginne where i have i given name of the class file the class and string i have given it there. thank u
vijay
On 9/17/07, *Michael Baessler* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Sorry I can't find your posting. Where do you have added your
    requirements?

    -- Michael

    Danai Wiriyayanyongsuk wrote:
    > Sorry for taking a while for posting. It is now posted in the
    page. All
    > comments/suggestions/discussions are very welcome.
    >
    > Thanks,
    > Danai Wiriyayanyongsuk
    >
    > On 9/1/07, Michael Baessler < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:
    >
    >> Since this is a new requirement for UIMA can you please add it
    with some
    >> information to the
    >> UIMA wiki? There is a section where we gather UIMA requirements.
    >> http://cwiki.apache.org/confluence/display/UIMA/UIMA+Requirements
    >>
    >> Thanks!
    >>
    >> -- Michael
    >>



Reply via email to