Loren,
In the UIMA Simple Server User Guide
documentation<http://incubator.apache.org/uima/downloads/sandbox/simple-server/simpleServerUserGuide.html#d0e134>,
there is a description on how to use the "WhitespaceTokenizer" (also in the
sandbox) as a simple service.
You can find the example of web.inf and ResultSpecFile for
"WhitespaceTokenizer" in the following directory of the Simple Server
project:
SimpleServer/src/main/resources/samples
-- Tong
On Mon, Mar 2, 2009 at 8:15 PM, Loren Cahlander
<loren.cahlander@gmail.com>wrote:
> I am looking for an example of a ResultSpecFile entry for the SimpleServer
> in the Sandbox? Does anyone have an example?
>
> org.apache.uima.simpleserver.servlet.SimpleServerServlet.initServer()
>
> String resultSpecParamValue = getInitParameter("ResultSpecFile");
> if (resultSpecParamValue != null) {
> resultSpec = new File(this.baseWebappDirectory.getAbsoluteFile(),
> resultSpecParamValue);
> }
>
>
> Thank you,
>
> Loren Cahlander
>
>
--
Tong
|