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. Re: placeholder error with compact phrase-table (Hieu Hoang)
2. Re: placeholder error with compact phrase-table
(Marcin Junczys-Dowmunt)
----------------------------------------------------------------------
Message: 1
Date: Fri, 29 May 2015 03:40:54 +0400
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] placeholder error with compact
phrase-table
To: Vito Mandorino <vito.mandorino@linguacustodia.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbgvUYKNygnqFc=n2Oi7sv1-K=f4m50PXu4z8tiKoa0sSw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
The placeholders need word alignment info to work. What is the exact
command u used to binarise? Are you sure the text pt had alignment info?
On 27 May 2015 12:35, "Vito Mandorino" <vito.mandorino@linguacustodia.com>
wrote:
> Dear all,
>
> I'm getting some troubles when using placeholders together with compact
> phrase table.
> If I decode the segment
>
> usd <ne translation="@num@" entity="717">@num@</ne> mn worth of stocks
>
>
> with compact phrase table I get the error
>
> Line 0: Search took 0.108 seconds
> terminate called after throwing an instance of 'util::Exception'
> what(): moses/IOWrapper.cpp:273 in std::map<long unsigned int, const
> Moses::Factor*> Moses::IOWrapper::GetPlaceholders(const Moses::Hypothesis&,
> Moses::FactorType) threw util::Exception because `targetPos.size() != 1'.
> Placeholder should be aligned to 1, and only 1, word
>
>
>
> four times out of 13 different compactifications of the phrase table (the
> remaining 9 work fine). If I decode with non-compact phrase-table
> everything works fine. What could be the reason of the error? Is it
> possible that this is due to small random information losses when creating
> the compact tables?
>
> Thank you and best regards,
>
> Vito Mandorino
>
> --
> *M**. Vito MANDORINO -- Chief Scientist*
>
>
> [image: Description : Description : lingua_custodia_final full logo]
>
> *The Translation Trustee*
>
> *1, Place Charles de Gaulle, **78180 Montigny-le-Bretonneux*
>
> *Tel : +33 1 30 44 04 23 Mobile : +33 6 84 65 68 89
> <%2B33%206%2084%2065%2068%2089>*
>
> *Email :* *vito.mandorino@linguacustodia.com
> <massinissa.ahmim@linguacustodia.com>*
>
> *Website :* *www.linguacustodia.com <http://www.linguacustodia.com/> -
> www.thetranslationtrustee.com <http://www.thetranslationtrustee.com/>*
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150529/93dcf443/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4421 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20150529/93dcf443/attachment-0001.jpg
------------------------------
Message: 2
Date: Fri, 29 May 2015 01:45:47 +0200
From: Marcin Junczys-Dowmunt <junczys@amu.edu.pl>
Subject: Re: [Moses-support] placeholder error with compact
phrase-table
To: moses-support@mit.edu
Message-ID: <5567A8AB.108@amu.edu.pl>
Content-Type: text/plain; charset="windows-1252"
Hi,
Oops, missed that post, should set-up some filter based on "compact".
Looks like another alignment-based error in my pt. I never used place
holders before, so I never came across this. Can you somehow share stuff
so I can reproduce this?
Best,
Marcin
W dniu 29.05.2015 o 01:40, Hieu Hoang pisze:
>
> The placeholders need word alignment info to work. What is the exact
> command u used to binarise? Are you sure the text pt had alignment info?
>
> On 27 May 2015 12:35, "Vito Mandorino"
> <vito.mandorino@linguacustodia.com
> <mailto:vito.mandorino@linguacustodia.com>> wrote:
>
> Dear all,
>
> I'm getting some troubles when using placeholders together with
> compact phrase table.
> If I decode the segment
>
> usd <ne translation="@num@" entity="717">@num@</ne> mn worth
> of stocks
>
>
> with compact phrase table I get the error
>
> Line 0: Search took 0.108 seconds
> terminate called after throwing an instance of 'util::Exception'
> what(): moses/IOWrapper.cpp:273 in std::map<long unsigned
> int, const Moses::Factor*>
> Moses::IOWrapper::GetPlaceholders(const Moses::Hypothesis&,
> Moses::FactorType) threw util::Exception because
> `targetPos.size() != 1'.
> Placeholder should be aligned to 1, and only 1, word
>
>
>
> four times out of 13 different compactifications of the phrase
> table (the remaining 9 work fine). If I decode with non-compact
> phrase-table everything works fine. What could be the reason of
> the error? Is it possible that this is due to small random
> information losses when creating the compact tables?
>
> Thank you and best regards,
>
> Vito Mandorino
>
> --
> *M**. Vito MANDORINO -- Chief Scientist*
>
> Description : Description : lingua_custodia_final full logo
>
> */The Translation Trustee/*
>
> *1, Place Charles de Gaulle, **78180 Montigny-le-Bretonneux*
>
> *Tel : +33 1 30 44 04 23 Mobile : +33 6 84 65 68 89
> <tel:%2B33%206%2084%2065%2068%2089>*
>
> *Email :****vito.mandorino@linguacustodia.com
> <mailto:massinissa.ahmim@linguacustodia.com>***
>
> *Website :****www.linguacustodia.com
> <http://www.linguacustodia.com/> - www.thetranslationtrustee.com
> <http://www.thetranslationtrustee.com/>*
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150529/e0904e35/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 4421 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20150529/e0904e35/attachment.jpg
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 103, Issue 74
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 103, Issue 74"
Post a Comment