Moses-support Digest, Vol 101, Issue 69

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: Error compiling with --with-mm (Hieu Hoang)
2. Re: Error compiling with --with-mm (Kenneth Heafield)
3. Problem with corpus preparation (Abdelfetah Boumerdas)
4. Re: Error compiling with --with-mm (Hieu Hoang)
5. Re: Error compiling with --with-mm (marco turchi)


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

Message: 1
Date: Tue, 24 Mar 2015 16:28:18 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Error compiling with --with-mm
To: marco turchi <marco.turchi@gmail.com>, moses-support
<moses-support@mit.edu>, Ulrich Germann <ugermann@inf.ed.ac.uk>
Message-ID: <551190A2.60904@gmail.com>
Content-Type: text/plain; charset="windows-1252"

it's probably a compiler-specific problem. I tried it on gcc 4.6.4
(ubuntu 12.04), gcc 4.8.2 (ubuntu 14.04), clang (osx), and they all work ok.

you should use UINT64 instead, which is defined in Typedef.h. It's been
debugged to work on all platforms/compilers i know

On 24/03/2015 15:49, marco turchi wrote:
> Hi All,
> we have fixed the problem I reported yesterday.
>
> It is not clear to me the reason of that error, but I can compile
> Moses with the --with-mm flag, if in all the files inside the
> moses/TranslationModel/UG folder, I replace
>
> typename ::uint64
>
> with
>
> ::uint64
>
> The modified files are: mmsapt.h, sapt_pscore_unaligned.h,
> mm/ug_bitext.h, mm/ug_mm_tsa.h, mm/ug_tsa_base.h,
> mm/ug_tsa_bitset_cache.h and mm/ug_tsa_tree_iterator.h.
>
> I compile Moses on a x86_64-redhat-linux machine with gcc version
> 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC), boost 1_55_0 and xmlrpc-c
> version 1_40_2.
>
> I hope this can be useful if someone has a similar problem.
>
> Thanks a lot!
> Marco
>
> On Mon, Mar 23, 2015 at 5:40 PM, marco turchi <marco.turchi@gmail.com
> <mailto:marco.turchi@gmail.com>> wrote:
>
> Hi All,
> I'm compiling the last version of Moses (downloaded today from the
> master). Everything works fine if I do not add the --with-mm
> parameter, but when I include it, moses crashes. I have looked in
> the mailing list but I have not found anything useful.
>
> Do you have any ideas about a possible reason? I attach the log-file
>
> Thanks a lot!
> Marco
>
>
>
>
> _______________________________________________
> 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/20150324/eb6c1171/attachment-0001.htm

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

Message: 2
Date: Tue, 24 Mar 2015 16:28:34 -0400
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] Error compiling with --with-mm
To: moses-support@mit.edu
Message-ID: <5511C8F2.1030109@kheafield.com>
Content-Type: text/plain; charset=windows-1252

What's wrong with

#include <stdint.h>

and

uint64_t

Works on gcc, clang, and even MSVC.

Kenneth

On 03/24/15 12:28, Hieu Hoang wrote:
> it's probably a compiler-specific problem. I tried it on gcc 4.6.4
> (ubuntu 12.04), gcc 4.8.2 (ubuntu 14.04), clang (osx), and they all work ok.
>
> you should use UINT64 instead, which is defined in Typedef.h. It's been
> debugged to work on all platforms/compilers i know
>
> On 24/03/2015 15:49, marco turchi wrote:
>> Hi All,
>> we have fixed the problem I reported yesterday.
>>
>> It is not clear to me the reason of that error, but I can compile
>> Moses with the --with-mm flag, if in all the files inside the
>> moses/TranslationModel/UG folder, I replace
>>
>> typename ::uint64
>>
>> with
>>
>> ::uint64
>>
>> The modified files are: mmsapt.h, sapt_pscore_unaligned.h,
>> mm/ug_bitext.h, mm/ug_mm_tsa.h, mm/ug_tsa_base.h,
>> mm/ug_tsa_bitset_cache.h and mm/ug_tsa_tree_iterator.h.
>>
>> I compile Moses on a x86_64-redhat-linux machine with gcc version
>> 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC), boost 1_55_0 and xmlrpc-c
>> version 1_40_2.
>>
>> I hope this can be useful if someone has a similar problem.
>>
>> Thanks a lot!
>> Marco
>>
>> On Mon, Mar 23, 2015 at 5:40 PM, marco turchi <marco.turchi@gmail.com
>> <mailto:marco.turchi@gmail.com>> wrote:
>>
>> Hi All,
>> I'm compiling the last version of Moses (downloaded today from the
>> master). Everything works fine if I do not add the --with-mm
>> parameter, but when I include it, moses crashes. I have looked in
>> the mailing list but I have not found anything useful.
>>
>> Do you have any ideas about a possible reason? I attach the log-file
>>
>> Thanks a lot!
>> Marco
>>
>>
>>
>>
>> _______________________________________________
>> 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
>


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

Message: 3
Date: Tue, 24 Mar 2015 22:02:32 +0100
From: Abdelfetah Boumerdas <aa_boumerdas@esi.dz>
Subject: [Moses-support] Problem with corpus preparation
To: moses-support@mit.edu
Message-ID:
<CABJLC3c4EvuYomQW=GFDaDqsBFTY98iH=xQ06k3rmUigdi2K_Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi All,
i'm trying to build a translation model using moses, and to do that i'm
using 2 corpora (europarl and the news commentary corpus provided in the
manual) but when i reached the corpus preparation step i noticed the
following problem: in the prepared europarl files i find that the
apostrophe (') and the quotation marks are replaced respectively with
(&apos;) and (&quot;) but in the second corpus they're still unchanged.
can anyone please tell me why?? is it a problem with the files encoding (i
checked and they're both utf8)?? or is it another problem that i don't know
about???

Thanks in advance.

--
BOUMERDAS Abdelfetah
5?me Ann?e Option Syst?mes Informatiques (SIQ)
Ecole nationale Sup?rieure d'Informatique ESI (ex INI)
BP 68 M Oued Smar 16309 - ALGER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150324/957fdb12/attachment-0001.htm

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

Message: 4
Date: Wed, 25 Mar 2015 01:08:49 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Error compiling with --with-mm
To: moses-support@mit.edu
Message-ID: <55120AA1.1070607@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

you're right, my info on MSVC is 5yrs out of date
http://stackoverflow.com/questions/6618027/long-long-in-c
I've deleted the UINT64 typedef since it's no longer needed
https://github.com/moses-smt/mosesdecoder/commit/1064aaacbe4e7dd0571f35ef0eba3a2efc212859

Marco - you should check in your changes. I'll test it on my machines
and make sure it'll work

On 24/03/2015 20:28, Kenneth Heafield wrote:
> What's wrong with
>
> #include <stdint.h>
>
> and
>
> uint64_t
>
> Works on gcc, clang, and even MSVC.
>
> Kenneth
>
> On 03/24/15 12:28, Hieu Hoang wrote:
>> it's probably a compiler-specific problem. I tried it on gcc 4.6.4
>> (ubuntu 12.04), gcc 4.8.2 (ubuntu 14.04), clang (osx), and they all work ok.
>>
>> you should use UINT64 instead, which is defined in Typedef.h. It's been
>> debugged to work on all platforms/compilers i know
>>
>> On 24/03/2015 15:49, marco turchi wrote:
>>> Hi All,
>>> we have fixed the problem I reported yesterday.
>>>
>>> It is not clear to me the reason of that error, but I can compile
>>> Moses with the --with-mm flag, if in all the files inside the
>>> moses/TranslationModel/UG folder, I replace
>>>
>>> typename ::uint64
>>>
>>> with
>>>
>>> ::uint64
>>>
>>> The modified files are: mmsapt.h, sapt_pscore_unaligned.h,
>>> mm/ug_bitext.h, mm/ug_mm_tsa.h, mm/ug_tsa_base.h,
>>> mm/ug_tsa_bitset_cache.h and mm/ug_tsa_tree_iterator.h.
>>>
>>> I compile Moses on a x86_64-redhat-linux machine with gcc version
>>> 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC), boost 1_55_0 and xmlrpc-c
>>> version 1_40_2.
>>>
>>> I hope this can be useful if someone has a similar problem.
>>>
>>> Thanks a lot!
>>> Marco
>>>
>>> On Mon, Mar 23, 2015 at 5:40 PM, marco turchi <marco.turchi@gmail.com
>>> <mailto:marco.turchi@gmail.com>> wrote:
>>>
>>> Hi All,
>>> I'm compiling the last version of Moses (downloaded today from the
>>> master). Everything works fine if I do not add the --with-mm
>>> parameter, but when I include it, moses crashes. I have looked in
>>> the mailing list but I have not found anything useful.
>>>
>>> Do you have any ideas about a possible reason? I attach the log-file
>>>
>>> Thanks a lot!
>>> Marco
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>



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

Message: 5
Date: Wed, 25 Mar 2015 12:02:29 +0100
From: marco turchi <marco.turchi@gmail.com>
Subject: Re: [Moses-support] Error compiling with --with-mm
To: Hieu Hoang <hieuhoang@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CABEbM39eOhu1QabOJBkL-cff0c+4jST=OBjpRPXxoFD5DYWv5w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Hieu,
I have pulled your changes in my local version and I can compile moses
without error with the --with-mm flag. If I run it without the moses.ini, I
can see the help messages. In the next days, I'll properly run it in the
post-edit mode.

I'll keep you updated.

Cheers,
Marco

On Wed, Mar 25, 2015 at 2:08 AM, Hieu Hoang <hieuhoang@gmail.com> wrote:

> you're right, my info on MSVC is 5yrs out of date
> http://stackoverflow.com/questions/6618027/long-long-in-c
> I've deleted the UINT64 typedef since it's no longer needed
>
> https://github.com/moses-smt/mosesdecoder/commit/1064aaacbe4e7dd0571f35ef0eba3a2efc212859
>
> Marco - you should check in your changes. I'll test it on my machines
> and make sure it'll work
>
> On 24/03/2015 20:28, Kenneth Heafield wrote:
> > What's wrong with
> >
> > #include <stdint.h>
> >
> > and
> >
> > uint64_t
> >
> > Works on gcc, clang, and even MSVC.
> >
> > Kenneth
> >
> > On 03/24/15 12:28, Hieu Hoang wrote:
> >> it's probably a compiler-specific problem. I tried it on gcc 4.6.4
> >> (ubuntu 12.04), gcc 4.8.2 (ubuntu 14.04), clang (osx), and they all
> work ok.
> >>
> >> you should use UINT64 instead, which is defined in Typedef.h. It's been
> >> debugged to work on all platforms/compilers i know
> >>
> >> On 24/03/2015 15:49, marco turchi wrote:
> >>> Hi All,
> >>> we have fixed the problem I reported yesterday.
> >>>
> >>> It is not clear to me the reason of that error, but I can compile
> >>> Moses with the --with-mm flag, if in all the files inside the
> >>> moses/TranslationModel/UG folder, I replace
> >>>
> >>> typename ::uint64
> >>>
> >>> with
> >>>
> >>> ::uint64
> >>>
> >>> The modified files are: mmsapt.h, sapt_pscore_unaligned.h,
> >>> mm/ug_bitext.h, mm/ug_mm_tsa.h, mm/ug_tsa_base.h,
> >>> mm/ug_tsa_bitset_cache.h and mm/ug_tsa_tree_iterator.h.
> >>>
> >>> I compile Moses on a x86_64-redhat-linux machine with gcc version
> >>> 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC), boost 1_55_0 and xmlrpc-c
> >>> version 1_40_2.
> >>>
> >>> I hope this can be useful if someone has a similar problem.
> >>>
> >>> Thanks a lot!
> >>> Marco
> >>>
> >>> On Mon, Mar 23, 2015 at 5:40 PM, marco turchi <marco.turchi@gmail.com
> >>> <mailto:marco.turchi@gmail.com>> wrote:
> >>>
> >>> Hi All,
> >>> I'm compiling the last version of Moses (downloaded today from the
> >>> master). Everything works fine if I do not add the --with-mm
> >>> parameter, but when I include it, moses crashes. I have looked in
> >>> the mailing list but I have not found anything useful.
> >>>
> >>> Do you have any ideas about a possible reason? I attach the
> log-file
> >>>
> >>> Thanks a lot!
> >>> Marco
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> 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
> >>
> > _______________________________________________
> > 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/20150325/c76e27d7/attachment.htm

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

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


End of Moses-support Digest, Vol 101, Issue 69
**********************************************

0 Response to "Moses-support Digest, Vol 101, Issue 69"

Post a Comment