Matthias Wendt schrieb:
I'm not sure if this does the right thing. If I understand this right, you configured the html2plaintextMapper... to refer to the default view internally by the name "plaintextSofa". That's why the view already exists - it's actually the default view.

If I understand right what I did, I told UIMA that the html2plaintextMapper outputs a Sofa with the name plaintextSofa.

Which should leave the default _InitialView untouched.

I rather thought of using the input/outputSofa tags to specify which view the next component recieves as it's default view. This way you can avoid calling jcas.getView(...) in the following AE, since the jcas it received is already assured to be the the right one.

That's what I want to do, but I don't manage.

If I don't declare anything in the descriptors I can simply create the plaintextSofa and see it in the CAS Visual Debugger, so it's there somewhere. But I want plaintextSofa to become the default Sofa (_InitialView) and as it seems I'm not getting how to do it.

   Niels

--
Niels Ott
Computational Linguist (B.A.)
http://www.drni.de/niels/

Reply via email to