uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tong Fin <tong....@gmail.com>
Subject Re: Is there an example of a ResultSpecFile in the SimpleServer?
Date Tue, 03 Mar 2009 01:47:24 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message