Hi Rupert,
I am looking at the restful api description and one of the examples is
curl -X POST -H "Accept: text/turtle" -H "Content-type: text/plain" \
--data "The Stanbol enhancer can detect famous cities such as
Paris \ and people such as Bob Marley." \
"http://localhost:8080/enhancer/chain/dbpedia-keyword?uri=urn:fise-example-content-item&executionmetadata=true"
So these params aply to the enitire chain? Are the params 'uri' and
'executionmetadata' are predefined? Can't we add new params here
http://localhost:8080/enhancer/chain/MY_OWN_CHAIN?maximumKeywordsNumber=20&applyModel=StanfordPOSFastModel"
Whichever engine understands this, will use the params
maximumKeywordsNumber and applyModel.
Reference:
http://stanbol.apache.org/docs/trunk/components/enhancer/enhancerrest.html
-harish
On Fri, Feb 8, 2013 at 9:32 PM, Rupert Westenthaler <
[email protected]> wrote:
> Hi Harish
>
> If you refer to request specific configuration, than this is currently
> not possible. However there was recently a long discussion about very
> similar things (see [1] and follow up mails).
>
> As the discussed features would require incompatible API changes in
> the Enhancer the decision was to continue on those as soon as the
> Enhancement Engines get released (hopefully next week, as Fabian is
> already forging the release).
>
> But as you can see from [1] most of the things are still in early
> stages meaning that feedback, usage scenarios ... are highly welcome
>
> best
> Rupert
>
>
>
> [1] http://markmail.org/message/zqztwjhndwj74jqv
>
> On Sat, Feb 9, 2013 at 3:57 AM, harish suvarna <[email protected]> wrote:
> > Is it possible to add additional parameters for the restful api for
> > enahancement engine? Lets say I want to tell it to compute the top 20
> > keywords only.
> >
> > --
> > Thanks
> > Harish
>
>
>
> --
> | Rupert Westenthaler [email protected]
> | Bodenlehenstraße 11 ++43-699-11108907
> | A-5500 Bischofshofen
>
--
Thanks
Harish