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: SegFault using XML Markup (Ryan ADLER)
2. Re: SegFault using XML Markup (Hieu Hoang)
3. Re: SegFault using XML Markup (Ryan ADLER)
----------------------------------------------------------------------
Message: 1
Date: Thu, 15 Dec 2016 08:28:47 +0100
From: Ryan ADLER <ryan.adler@unodc.org>
Subject: Re: [Moses-support] SegFault using XML Markup
To: Hieu Hoang <hieuhoang@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<OF712CFD2C.69700433-ONC125808A.0028C516-C125808A.002916C5@unvienna.org>
Content-Type: text/plain; charset="iso-8859-1"
Dear Hieu,
Thank you for your reply. Attached, please find the requested information.
I will try to build a mini-model where I can reproduce this as well.
(See attached file: moses.mert.ini)
Command line:
echo '<n translation="abc">def</n>' | /data/smt/mosesdecoder3.0/bin/moses
-f moses.mert.ini -xml-input exclusive
I would appreciate any insight you can offer.
Kind regards,
Ryan Adler
From: Hieu Hoang <hieuhoang@gmail.com>
To: Ryan ADLER/VIENNA/UNO@UNOV
Cc: moses-support <moses-support@mit.edu>
Date: 14/12/2016 17:23
Subject: Re: [Moses-support] SegFault using XML Markup
can you attach the moses.ini file you use and the exact command you ran
Hieu Hoang
http://www.hoang.co.uk/hieu
On 14 December 2016 at 14:19, Ryan ADLER <ryan.adler@unodc.org> wrote:
Hi,
When submitting text with XML markup like:
Some <np translation="abc">def</np> stuff.
I am getting a segfault at:
Moses::LanguageModelKen<lm::ngram::QuantArrayTrieModel>::CalcScore
(this=0xa570b0, phrase=..., fullScore=@0x7fffffffd110,
ngramScore=@0x7fffffffd120, oovCount=@0x7fffffffd130) at
moses/LM/Ken.h:77
77 ? ? ? ? ?std::size_t factor = word.GetFactor(m_factorType)->GetId();
This is using the RELEASE-3.0 branch.? Does anyone have any ideas here?
Kind regards,
Ryan Adler
_______________________________________________
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/20161215/878199d2/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20161215/878199d2/attachment-0001.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moses.mert.ini
Type: application/octet-stream
Size: 1794 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20161215/878199d2/attachment-0001.obj
------------------------------
Message: 2
Date: Thu, 15 Dec 2016 09:35:58 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] SegFault using XML Markup
To: Ryan ADLER <ryan.adler@unodc.org>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbhZqd7m4R8pvqdC6cnnk6gNS5ir1u4uT7oX4LJhchpwTw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
your output has 2 factors so the phrases in the xml should have 2 factors eg
'<n translation="abc|NNS">def</n>'
Hieu Hoang
http://www.hoang.co.uk/hieu
On 15 December 2016 at 07:28, Ryan ADLER <ryan.adler@unodc.org> wrote:
> Dear Hieu,
>
> Thank you for your reply. Attached, please find the requested
> information. I will try to build a mini-model where I can reproduce this
> as well.
> *(See attached file: moses.mert.ini)*
>
> Command line:
>
> echo '<n translation="abc">def</n>' | /data/smt/mosesdecoder3.0/bin/moses
> -f moses.mert.ini -xml-input exclusive
>
> I would appreciate any insight you can offer.
>
> Kind regards,
> Ryan Adler
>
> [image: Inactive hide details for Hieu Hoang ---14/12/2016 17:23:01---can
> you attach the moses.ini file you use and the exact command y]Hieu Hoang
> ---14/12/2016 17:23:01---can you attach the moses.ini file you use and the
> exact command you ran Hieu Hoang
>
> From: Hieu Hoang <hieuhoang@gmail.com>
> To: Ryan ADLER/VIENNA/UNO@UNOV
> Cc: moses-support <moses-support@mit.edu>
> Date: 14/12/2016 17:23
> Subject: Re: [Moses-support] SegFault using XML Markup
> ------------------------------
>
>
>
> can you attach the moses.ini file you use and the exact command you ran
>
> Hieu Hoang
> *http://www.hoang.co.uk/hieu* <http://www.hoang.co.uk/hieu>
>
> On 14 December 2016 at 14:19, Ryan ADLER <*ryan.adler@unodc.org*
> <ryan.adler@unodc.org>> wrote:
>
> Hi,
>
> When submitting text with XML markup like:
> Some <np translation="abc">def</np> stuff.
>
> I am getting a segfault at:
> Moses::LanguageModelKen<lm::ngram::QuantArrayTrieModel>::CalcScore
> (this=0xa570b0, phrase=..., fullScore=@0x7fffffffd110,
> ngramScore=@0x7fffffffd120, oovCount=@0x7fffffffd130) at moses/LM/Ken.h:77
> 77 std::size_t factor = word.GetFactor(m_factorType)->GetId();
>
> This is using the RELEASE-3.0 branch. Does anyone have any ideas here?
>
> Kind regards,
> Ryan Adler
>
> _______________________________________________
> Moses-support mailing list
> *Moses-support@mit.edu* <Moses-support@mit.edu>
> *http://mailman.mit.edu/mailman/listinfo/moses-support*
> <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/20161215/7da7d1e7/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20161215/7da7d1e7/attachment-0001.gif
------------------------------
Message: 3
Date: Thu, 15 Dec 2016 11:19:27 +0100
From: Ryan ADLER <ryan.adler@unodc.org>
Subject: Re: [Moses-support] SegFault using XML Markup
To: Hieu Hoang <hieuhoang@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<OFAAF5A414.C36ECAA9-ONC125808A.00382833-C125808A.00389B19@unvienna.org>
Content-Type: text/plain; charset="iso-8859-1"
Dear Hieu,
Unfortunately, this results in the same error. Am I possibly still missing
something somewhere else?
Kind regards,
Ryan Adler
From: Hieu Hoang <hieuhoang@gmail.com>
To: Ryan ADLER/VIENNA/UNO@UNOV
Cc: moses-support <moses-support@mit.edu>
Date: 15/12/2016 10:36
Subject: Re: [Moses-support] SegFault using XML Markup
your output has 2 factors so the phrases in the xml should have 2 factors
eg
?? '<n translation="abc|NNS">def</n>'
Hieu Hoang
http://www.hoang.co.uk/hieu
On 15 December 2016 at 07:28, Ryan ADLER <ryan.adler@unodc.org> wrote:
Dear Hieu,
Thank you for your reply.? Attached, please find the requested
information.? I will try to build a mini-model where I can reproduce this
as well.
(See attached file: moses.mert.ini)
Command line:
echo '<n translation="abc">def</n>' | /data/smt/mosesdecoder3.0/bin/moses
-f moses.mert.ini -xml-input exclusive
I would appreciate any insight you can offer.
Kind regards,
Ryan Adler
Inactive hide details for Hieu Hoang ---14/12/2016 17:23:01---can you
attach the moses.ini file you use and the exact command yHieu Hoang
---14/12/2016 17:23:01---can you attach the moses.ini file you use and
the exact command you ran Hieu Hoang
From: Hieu Hoang <hieuhoang@gmail.com>
To: Ryan ADLER/VIENNA/UNO@UNOV
Cc: moses-support <moses-support@mit.edu>
Date: 14/12/2016 17:23
Subject: Re: [Moses-support] SegFault using XML Markup
can you attach the moses.ini file you use and the exact command you ran
Hieu Hoang
http://www.hoang.co.uk/hieu
On 14 December 2016 at 14:19, Ryan ADLER <ryan.adler@unodc.org> wrote:
Hi,
When submitting text with XML markup like:
Some <np translation="abc">def</np> stuff.
I am getting a segfault at:
Moses::LanguageModelKen<lm::ngram::QuantArrayTrieModel>::CalcScore
(this=0xa570b0, phrase=..., fullScore=@0x7fffffffd110,
ngramScore=@0x7fffffffd120, oovCount=@0x7fffffffd130) at
moses/LM/Ken.h:77
77 ? ? ? ? ?std::size_t factor = word.GetFactor(m_factorType)->
GetId();
This is using the RELEASE-3.0 branch.? Does anyone have any ideas
here?
Kind regards,
Ryan Adler
_______________________________________________
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/20161215/aa75a01a/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20161215/aa75a01a/attachment.gif
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 122, Issue 27
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 122, Issue 27"
Post a Comment