Moses-support Digest, Vol 106, Issue 47

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. removed OutputPassthroughInformation by mistake ? (Vincent Nguyen)
2. Re: removed OutputPassthroughInformation by mistake ?
(Prashant Mathur)
3. Re: removed OutputPassthroughInformation by mistake ?
(Vincent Nguyen)
4. Re: removed OutputPassthroughInformation by mistake ?
(Prashant Mathur)
5. Re: removed OutputPassthroughInformation by mistake ?
(Vincent Nguyen)


----------------------------------------------------------------------

Message: 1
Date: Tue, 25 Aug 2015 09:39:33 +0200
From: Vincent Nguyen <vnguyen@neuf.fr>
Subject: [Moses-support] removed OutputPassthroughInformation by
mistake ?
To: moses-support <moses-support@mit.edu>
Message-ID: <55DC1BB5.2040906@neuf.fr>
Content-Type: text/plain; charset=utf-8; format=flowed

Guys,

I tried the mt adaptive server package from Matecat and I am fighting
for the past 3 days but I think now I know why.

the mt adaptive application uses some undocumented "-print-passthrough"
option in moses.

then I saw some functions to actually Output the passthrough info to
STDOUT in IOWrapper.cpp

BUT

I saw that Hieu removed in a commit from December 30 2014 some "unsued"
methods in IOWrapper.

therefore no longer any output

=> mt adaptive server seems broken.

can we do something ?

cheers,

Vincent


------------------------------

Message: 2
Date: Tue, 25 Aug 2015 10:35:59 +0200
From: Prashant Mathur <prashant@fbk.eu>
Subject: Re: [Moses-support] removed OutputPassthroughInformation by
mistake ?
To: Vincent Nguyen <vnguyen@neuf.fr>
Cc: moses-support <moses-support@mit.edu>
Message-ID: <B36A5B87-A46A-47C0-8212-96D8C3AF12AF@fbk.eu>
Content-Type: text/plain; charset="utf-8"

Hi Vincent,

Forgot to tell you that the adaptive MT server works with Moses Release 1.0

There is another version on github which works with the latest version. Try this out.
https://github.com/hlt-mt/adaptiveMT <https://github.com/hlt-mt/adaptiveMT>

?Prashant

> On Aug 25, 2015, at 9:39 AM, Vincent Nguyen <vnguyen@neuf.fr> wrote:
>
> .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150825/8a8b822c/attachment-0001.html

------------------------------

Message: 3
Date: Tue, 25 Aug 2015 11:02:26 +0200
From: Vincent Nguyen <vnguyen@neuf.fr>
Subject: Re: [Moses-support] removed OutputPassthroughInformation by
mistake ?
To: Prashant Mathur <prashant@fbk.eu>
Cc: moses-support <moses-support@mit.edu>
Message-ID: <55DC2F22.4090104@neuf.fr>
Content-Type: text/plain; charset="utf-8"


well 2 things :
- I still don't see any of the methods OutputPassthroughInformation in
the previous version of moses, as if the commit from Nicola on June 6
2014 was gone.

- you link below does not contain any shell to start the MT server nor
the python server file.



Le 25/08/2015 10:35, Prashant Mathur a ?crit :
> Hi Vincent,
>
> Forgot to tell you that the adaptive MT server works with Moses
> Release 1.0
>
> There is another version on github which works with the latest
> version. Try this out.
> https://github.com/hlt-mt/adaptiveMT
>
> ?Prashant
>
>> On Aug 25, 2015, at 9:39 AM, Vincent Nguyen <vnguyen@neuf.fr
>> <mailto:vnguyen@neuf.fr>> wrote:
>>
>> .
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150825/bfc55306/attachment-0001.html

------------------------------

Message: 4
Date: Tue, 25 Aug 2015 11:26:08 +0200
From: Prashant Mathur <prashant@fbk.eu>
Subject: Re: [Moses-support] removed OutputPassthroughInformation by
mistake ?
To: Vincent Nguyen <vnguyen@neuf.fr>
Cc: moses-support <moses-support@mit.edu>
Message-ID: <D5B728C6-4F5F-4097-9EF2-D68F26FC560A@fbk.eu>
Content-Type: text/plain; charset="utf-8"

The one on github is the ONLINE directory under mtserver-adaptive. Change the files under ONLINE with the one on github.

About the OutputPassthroughInformation .. Nicola can tell you more about it. I am not familiar with the other parts of code.

?Prashant

> On Aug 25, 2015, at 11:02 AM, Vincent Nguyen <vnguyen@neuf.fr> wrote:
>
>
> well 2 things :
> - I still don't see any of the methods OutputPassthroughInformation in the previous version of moses, as if the commit from Nicola on June 6 2014 was gone.
>
> - you link below does not contain any shell to start the MT server nor the python server file.
>
>
>
> Le 25/08/2015 10:35, Prashant Mathur a ?crit :
>> Hi Vincent,
>>
>> Forgot to tell you that the adaptive MT server works with Moses Release 1.0
>>
>> There is another version on github which works with the latest version. Try this out.
>> https://github.com/hlt-mt/adaptiveMT <https://github.com/hlt-mt/adaptiveMT>
>>
>> ?Prashant
>>
>>> On Aug 25, 2015, at 9:39 AM, Vincent Nguyen <vnguyen@neuf.fr <mailto:vnguyen@neuf.fr>> wrote:
>>>
>>> .
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150825/edfaae8e/attachment-0001.html

------------------------------

Message: 5
Date: Tue, 25 Aug 2015 14:32:29 +0200
From: Vincent Nguyen <vnguyen@neuf.fr>
Subject: Re: [Moses-support] removed OutputPassthroughInformation by
mistake ?
To: Prashant Mathur <prashant@fbk.eu>
Cc: moses-support <moses-support@mit.edu>
Message-ID: <55DC605D.1070406@neuf.fr>
Content-Type: text/plain; charset="utf-8"


I fixed the issue on my server, if someone can check and commit, welcome :

I took the code from Nicola's commit from June 6 2014 and tracked all
the modification done.
Just to be specific:
commits from June 2014 in static.h, static.cpp, sentence.cpp
parameter.cpp are still there.
commits in main.cpp and iowrapper.cpp iowrapper.h have been deleted but
the piece of code would have been moved to manager.cpp manager.h anyway.

I know there are 2 other changes that could be done but I am unsure ***
Nicola could check ***
MT Adaptive works for me with this change.


in manager.cpp
********** last line just to show where I put it *******

// VN put back of OutputPassthroughInformation
void Manager::OutputPassthroughInformation(std::ostream &out, const
Hypothesis *hypo) const
{
const std::string passthrough =
hypo->GetManager().GetSource().GetPassthroughInformation();
out << passthrough;
}
// end of put back

void Manager::GetOutputLanguageModelOrder( std::ostream &out, const
Hypothesis *hypo ) const

*********
// VN : I put back the code for OutputPassthroughInformation
if (staticData.IsPassthroughEnabled()) {
OutputPassthroughInformation(out, bestHypo);
}
// end of add back


if (staticData.GetReportSegmentation() == 2) {


then in manager.h
// just the first line, second is here to show where
void OutputPassthroughInformation(std::ostream& os, const Hypothesis*
hypo) const;
std::map<size_t, const Factor*> GetPlaceholders(const Hypothesis
&hypo, FactorType placeholderFactor) const;









Le 25/08/2015 11:26, Prashant Mathur a ?crit :
> The one on github is the ONLINE directory under mtserver-adaptive.
> Change the files under ONLINE with the one on github.
>
> About the OutputPassthroughInformation .. Nicola can tell you more
> about it. I am not familiar with the other parts of code.
>
> ?Prashant
>
>> On Aug 25, 2015, at 11:02 AM, Vincent Nguyen <vnguyen@neuf.fr
>> <mailto:vnguyen@neuf.fr>> wrote:
>>
>>
>> well 2 things :
>> - I still don't see any of the methods OutputPassthroughInformation
>> in the previous version of moses, as if the commit from Nicola on
>> June 6 2014 was gone.
>>
>> - you link below does not contain any shell to start the MT server
>> nor the python server file.
>>
>>
>>
>> Le 25/08/2015 10:35, Prashant Mathur a ?crit :
>>> Hi Vincent,
>>>
>>> Forgot to tell you that the adaptive MT server works with Moses
>>> Release 1.0
>>>
>>> There is another version on github which works with the latest
>>> version. Try this out.
>>> https://github.com/hlt-mt/adaptiveMT
>>>
>>> ?Prashant
>>>
>>>> On Aug 25, 2015, at 9:39 AM, Vincent Nguyen <vnguyen@neuf.fr
>>>> <mailto:vnguyen@neuf.fr>> wrote:
>>>>
>>>> .
>>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150825/a64bd5c4/attachment.html

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 106, Issue 47
**********************************************

0 Response to "Moses-support Digest, Vol 106, Issue 47"

Post a Comment