Vijay, On 9/21/07, vijay vijay <[EMAIL PROTECTED]> wrote: > here i have one more douat i have been working on how > to develop uima annotator as webapplication?in this process i have reached > where i am able to get the output when i call the servlet in IE > webbrowser,but iam getting out put like this > ><snip/> > > insted of getting only annotattors i am getting whole thing. > here my question is why i am getting an out put like this. >
Read this section of the manual: http://incubator.apache.org/uima/downloads/releaseDocs/2.2.0-incubating/docs/html/tutorials_and_users_guides/tutorials_and_users_guides.html#ugr.tug.aae.reading_results_previous_annotators Also be sure to do what it says in look at the example code for the MeetingAnnotator. Basically, right now you are running some code that gets an FSIterator that returns everything in the CAS, and then you are just outputting every FeatureStructure as a String. You'll need to change this to iterate only over the types you're interested in, and produce output in the format you would like to see. Read the manual, look through the examples, and do some trial-and-error, modifying your code to see what happens. -Adam
