Moses-support Digest, Vol 100, Issue 99

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: binarise arabic LM Error (Marcin Junczys-Dowmunt)
2. Re: binarise arabic LM Error (mohamed hasanien)
3. Phrase Pair Feature Code BUG. (? ?)


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

Message: 1
Date: Sat, 28 Feb 2015 13:14:05 +0100
From: Marcin Junczys-Dowmunt <junczys@amu.edu.pl>
Subject: Re: [Moses-support] binarise arabic LM Error
To: moses-support@mit.edu
Message-ID: <54F1B10D.20603@amu.edu.pl>
Content-Type: text/plain; charset="windows-1252"

Hi,
Add "-i" as said in the error message.

W dniu 28.02.2015 o 13:09, mohamed hasanien pisze:
> Hi all,
> i try to binarise the data.arpa.ar ( arabic language)
> using this command
> ~/mosesdecoder/bin/build_binary data.arpa.ar data.blm.ar
> iget this error
> ------------------------------------------------
> Reading data.arpa.ar
> ----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
> ****************************************************************************************************
> lm/read_arpa.cc:151 in void lm::PositiveProbWarn::Warn(float) threw
> FormatLoadException'.
> Positive log probability 9.37143e-08 in the model. This is a bug in
> IRSTLM; you can set config.positive_log_probability = SILENT or pass
> -i to build_binary to substitute 0.0 for the log probability. Error
> in the 3-gram at byte 65275919 Byte: 65275919
> ERROR
>
> what i can do to solve this issue?
> thanks
> mohammed hassanien Mohammed
> Egyption Programmers Vice-captain
> 01000121556
> Egyption Programmers Syndicate
> <http://www.egprogrammers.org/>
>
>
> _______________________________________________
> 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/20150228/bfff257a/attachment-0001.htm

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

Message: 2
Date: Sat, 28 Feb 2015 12:18:55 +0000 (UTC)
From: mohamed hasanien <mhmd_hasnen@yahoo.com>
Subject: Re: [Moses-support] binarise arabic LM Error
To: Marcin Junczys-Dowmunt <junczys@amu.edu.pl>,
"moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<2140140659.264983.1425125935534.JavaMail.yahoo@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

thanx alot it is working now??mohammed hassanien Mohammed
Egyption Programmers Vice-captain
01000121556
Egyption Programmers Syndicate


On Saturday, February 28, 2015 2:14 PM, Marcin Junczys-Dowmunt <junczys@amu.edu.pl> wrote:


Hi,
Add "-i" as said in the error message.

W dniu 28.02.2015 o 13:09, mohamed hasanien pisze:

Hi all,?
i try to binarise the?data.arpa.ar ( arabic language)
using this command?
?~/mosesdecoder/bin/build_binary ? ?data.arpa.ar ? ?data.blm.ar
iget this error?
------------------------------------------------ ?Reading data.arpa.ar ----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100 **************************************************************************************************** lm/read_arpa.cc:151 in void lm::PositiveProbWarn::Warn(float) threw FormatLoadException'. Positive log probability 9.37143e-08 in the model. ?This is a bug in IRSTLM; you can set config.positive_log_probability = SILENT or pass -i to build_binary to substitute 0.0 for the log probability. ?Error in the 3-gram at byte 65275919 Byte: 65275919 ERROR
what i can do to solve this issue? thanks? mohammed hassanien Mohammed
Egyption Programmers Vice-captain
01000121556
Egyption Programmers Syndicate


_______________________________________________
Moses-support mailing list
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/20150228/ff33cb24/attachment-0001.htm

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

Message: 3
Date: Sat, 28 Feb 2015 21:17:39 +0800
From: ? ? <chengyong3001@gmail.com>
Subject: [Moses-support] Phrase Pair Feature Code BUG.
To: moses-support@mit.edu
Message-ID: <07C4E8C0-16BC-4CB1-837D-CDE416E4B983@gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello,

I want to use the sparse feature, phrase pair feature.

I can?t find any documentation about how to use this feature.

Thus I read the code and feel it should be similar with the setup for word translation feature.

But I think the code has some error.

In the function SetParameter

} else if (key == "ignore-punctuation") {
m_ignorePunctuation = Scan<bool>(value);
} else if (key == "ignore-punctuation") {
m_filePathSource = value;

These two else if seems to generate conflict. And When run the function Load, the m_filePathSource can?t be found.

In addition, If I make m_simple = True, the m_filePathSource should not exist, so the function Load should do nothing.
However, the current code requires to load the m_filePathSource file.

Cheng Yong




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150228/b36012cd/attachment.htm

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

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


End of Moses-support Digest, Vol 100, Issue 99
**********************************************

0 Response to "Moses-support Digest, Vol 100, Issue 99"

Post a Comment