freme-project / freme-project.github.io

Apache License 2.0
2 stars 0 forks source link

Text update e-entity #16

Closed jnehring closed 9 years ago

jnehring commented 9 years ago

Change description of POST /e-entity/dbpedia-spotlight/documents POST /e-entity/freme-ner/documents

from Enriches Text content with entities gathered from various datasets by the FREME-NER Engine. The service also accepts text sent as NIF document. The text of the nif:isString property (attached to the nif:Context document) will be used for processing.

to

Enriches Text content with entities gathered from various datasets by the FREME-NER Engine. The service accepts plaintext or text sent as NIF document. The text of the nif:isString property (attached to the nif:Context document) will be used for processing. This example shows a NIF document that can be processed by the service:

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix nif: <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#> .

<http://example.org/document/1#char=0,18>
    a nif:String , nif:Context , nif:RFC5147String ;
    nif:isString "Welcome to Berlin!."^^xsd:string;
    nif:beginIndex "0"^^xsd:nonNegativeInteger;
    nif:endIndex "18"^^xsd:nonNegativeInteger;
    nif:sourceUrl <http://differentday.blogspot.com/2007_01_01_archive.html> .
jnehring commented 9 years ago

You did not copy the NIF example.