Hi Reto,

just a short question:

As a next step I would like to integrate VIE in the enhancer interface so that the enhancements appear while you type. VIE could pass its content as JSON-LD with ajax to the server. Is there an existing MessageBodyReader or
other JSON-LD parser in use in Stanbol or elsewhere?


I don't understand the information flow here. The user types something into a text-field. The text gets then send to stanbol using VIE (see code example)

var elem = $('<p>This is a small test, where Steve Jobs sings a song.</ p>');
var v = new VIE();

v
.use(new v.StanbolService({name: 'stanbol', url : "/"}))
.analyze({element: elem})
.using('stanbol')
.execute()
.done(function(entities) {
  //Your code goes here
})
.fail(function(f){
  //Your error-handling-code goes here
});

and after that, each returned entity could be presented on the UI. Where do you
want to pass around JSON-LD Objects?

Thanks,

Sebastian


Cheers,
Reto

--
M.Sc. Sebastian Germesin        
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH (DFKI)
                
Stuhlsatzenhausweg 3
66123 Saarbruecken
Germany

Tel.: +49.681.85775.5079
Fax.: +49.681.85775.5021

email:   [email protected]
GPG:     http://www.dfki.de/~germesin/gpg/germesin_dfki.gpgkey
web:     http://www.dfki.de/~germesin
skype:   neogermi1337
twitter: germesin
github:  http://github.com/neogermi

###
#
 #

Reply via email to