Hi Vineet

This is what I get in the return.

<methodResponse>\r\n
<params>\r\n
<param><value><struct>\r\n
<member><name>text</name>\r\n
<value><string>hello ! </string></value></member>\r\n
</struct></value></param>\r\n
</params>\r\n
</methodResponse>\r\n

So the return value is a struct, with one member called 'text', which is a 
string. The input value is similar.

regards
Barry

On Wednesday 28 April 2010 11:04, Vineet Kashyap wrote:
> The perl client works fine but in ubuntu.
>
> Now, after enabling the trace parameter it is saying something meaningful:
> Parameter that is supposed to be a structure is not"
>
> Can you give me a better understanding of the translate() implementation
> on the server side as explained below in your paper:
>
> "Currently the only call that the Moses server implements is the
> translate() call, which receives an input sentence in its text field, and
> returns the translated text in the same field. If the align flag is
> switched on in the method call then the phrase alignment is returned as a
> sequence of (target-start, source-start, source-end)index triples, in
> target order."
>
> Thanks,
>
> Vineet
>
>
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to