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 <[email protected] <mailto:[email protected]>> 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 <[email protected] <mailto:[email protected]>> wrote:

.




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

Reply via email to