Moses-support Digest, Vol 93, Issue 32

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: Some questions about the output of GIZA++ (Hieu Hoang)


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

Message: 1
Date: Wed, 23 Jul 2014 21:21:20 +0100
From: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Subject: Re: [Moses-support] Some questions about the output of GIZA++
To: ZhangChunHe <mn_pq@outlook.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CAEKMkbhgFABH4psXSQE66nN-SjeATbxJeFJtoYqkDbKTKqsJCg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I'm not an expert on giza++ but a problem is that it creates similar files
that only differ in the case of the file name, eg
file.a3
file.A3
on operating systems that have case insensitive filesystems
(Windows/cygwin, Mac OSX) they cause problems as the files are overwritten.

I personally never use giza++, but instead use mgiza, directly from the
repository
http://sourceforge.net/projects/mgizapp/

If you have problem with mgiza, i might be able to help.

I personally think giza++ should be retired. There's no reason it should be
used anymore, given mgiza


On 22 July 2014 10:33, ZhangChunHe <mn_pq@outlook.com> wrote:

> Hi,
>
> I have some questions about the output of GIZA++.
>
> I run Giza-pp-v1.0.7 on Cygwin (version: 1.7.27-2) (the version of
> G++ is 4.8.2).
>
>
>
> I ran the GIZA++ command as follows:
>
> ./GIZA++ -S chinese.vcb ?T english.vcb ?C chinese_english.snt
> ?CoocurrenceFile cooc.ce ?O e2c
>
>
>
> The output ought to contain 17 files. However, the output only contained
> 13 files (*.A3.final, *.D4.final, *.ti.final and *.actual.ti.final are not
> generated).
>
>
>
> I follow the suggest written on
>
> http://article.gmane.org/gmane.comp.nlp.moses.user/4268/match=giza ,that
> is, edit the GIZA source file ?GIZA++-v2/model3.cpp?, and change the
> lines 321-322:
>
>
>
> alignfile = Prefix + ?.A3.? + number;
>
> test_alignfile = Prefix + ?.tst.A3? + number;
>
>
>
> as follows
>
>
>
> alignfile = Prefix + ?.UA3.? + number;
>
> test_alignfile = Prefix + ?.tst.UA3? + number;
>
>
>
> I recompile GIZA. Then ?*.A3.final? is generated successfully.
>
>
>
> But now, I have no idea about how to revise the source files to generate
> the three other files (*.D4.final, *.ti.final and *.actual.ti.final)
> successfully.
>
>
>
> Yours,
>
> Zhang ChunHe
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>


--
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140723/30a60b8e/attachment-0001.htm

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

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


End of Moses-support Digest, Vol 93, Issue 32
*********************************************

0 Response to "Moses-support Digest, Vol 93, Issue 32"

Post a Comment