freme-project / pipelines

Apache License 2.0
0 stars 0 forks source link

Content not translated for pipeline "e-Entity, e-Link, e-Translate" #7

Closed m1ci closed 9 years ago

m1ci commented 9 years ago

cURL command:

curl -v -d @pipeline2.json -X POST -H "Content-Type: application/json" "http://localhost:8080/pipelining/chain"

where @pipeline2.json is the "e-Entity, e-Link, e-Translate" pipeline from https://github.com/freme-project/Documentation/issues/45

The pipeline executes successfully but the content is not translated.

ghsnd commented 9 years ago

I can't reproduce this one. I'm testing against a local broker installation, and get a long NIF document back where this is a snippet from:

<http://freme-project.eu/char=0,62>
    a                     nif:Context , nif:RFC5147String , nif:Sentence ;
    nif:anchorOf          "The Belfry in Ghent is one of the oldest buildings in Belgium." ;
    nif:beginIndex        "0" ;
    nif:endIndex          "62" ;
    nif:firstWord         <http://freme-project.eu/char=0,3> ;
    nif:isString          "The Belfry in Ghent is one of the oldest buildings in Belgium." ;
    nif:lastWord          <http://freme-project.eu/char=61,62> ;
    nif:referenceContext  <http://freme-project.eu/char=0,62> ;
    nif:word              <http://freme-project.eu/char=14,19> , <http://freme-project.eu/char=34,40> , <http://freme-project.eu/char=30,33> , <http://freme-project.eu/char=51,53> , <http://freme-project.eu/char=11,13> , <http://freme-project.eu/char=41,50> , <http://freme-project.eu/char=20,22> , <http://freme-project.eu/char=4,10> , <http://freme-project.eu/char=23,26> , <http://freme-project.eu/char=27,29> , <http://freme-project.eu/char=54,61> ;
    itsrdf:target         "Belfry Gand est l 'une des plus récents."@fr .

The translation is not that fantastic, but it works. Can you post your output, or do you see any errors / exceptions in the broker logging?

m1ci commented 9 years ago

I just found the translation also on my side. Thanks.