On Tue, Jun 18, 2013 at 4:34 PM, steve reinders <[email protected]> wrote:
> Do these help ?
>
> http://stanbol.apache.org/docs/trunk/contentenhancement.html
>
> http://stanbol.apache.org/docs/trunk/components/enhancer/enhancerrest.html
>

exactly. The RESTful service endpoint of an EnhancementEngine

    http://{host}/enhancer/engine/{engine-name}

does support the exact same services as those of chains

    http://{host}/enhancer/chain/{chain-name}

e.g. you can send HTML to the Tika Engine to request the plain text version

curl -v -X POST -H "Accept: text/plain"     \
    -H "Content-type: text/html; charset=UTF-8" \
    --data "<html><body><p>The Stanbol enhancer can detect famous cities \
            such as Paris and people such as Bob Marley.</p></body></html>" \
    "http://dev.iks-project.eu:8081/enhancer/engine/tika?omitMetadata=true";

best
Rupert

>
>
>
> On Tue, Jun 18, 2013 at 8:54 AM, Reto Bachmann-Gmür <[email protected]> wrote:
>
>> Hi,
>>
>> I think I saw this feature before. Now I only find the class
>> SingleEngineChain but no way to access the single-engine chain via the web
>> interface. Is is possible to submit content for being enhanced by a single
>> engine without doing any configuration?
>>
>> Cheers,
>> Reto
>>



--
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to