Moses-support Digest, Vol 113, 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. tokenizer for German language (Alapan Kuila)
2. Re: ERROR: use --lm factor:order:filename to specify at least
one language model (Hieu Hoang)
3. Re: ERROR: use --lm factor:order:filename to specify at least
one language model (Hieu Hoang)


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

Message: 1
Date: Mon, 28 Mar 2016 19:53:52 +0530
From: Alapan Kuila <alapan.cse@gmail.com>
Subject: [Moses-support] tokenizer for German language
To: moses-support@mit.edu
Message-ID:
<CA+T0CBH+VH4uDJTLkeYxnCRiH23p_Ky-fppN45-yfMupVhH5Ww@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Sir,

Please provide some script or program for German tokenizer.
Is it right to use tokenizer.perl (
~/moses/scripts/tokenizer/tokenizer.perl) for German tokenization?Please
help.
Thanks and regards,

Alapan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20160328/7ebcacf7/attachment-0001.html

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

Message: 2
Date: Mon, 28 Mar 2016 15:45:41 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] ERROR: use --lm factor:order:filename to
specify at least one language model
To: Zhanwang Chen <zhanwang.c@gmail.com>, moses-support@mit.edu
Message-ID: <56F94395.6090608@gmail.com>
Content-Type: text/plain; charset="windows-1252"



On 26/03/2016 12:37, Zhanwang Chen wrote:
> when I run:
> $MOSES/scripts/training/train-model.perl -hierarchical -ghkm
> -external-bin-dir /home/zhanwang/giza-pp/tools/ -root-dir . --corpus
> corpus/nl2mr --f mr --e nl
>
> showed:
> ERROR: use --lm factor:order:filename to specify at least one language
> model at /home/zhanwang/mosesdecoder/scripts/training/train-model.perl
> line 597.
>
> root@zhanwang-virtual-machine:/home/zhanwang/mosesmodel/corpus3#
> $MOSES/scripts/training/train-model.perl
>
> But I don't want to use factor model.
if you don't use factor, then the factor is 0
>
> try this too, show me the same thing. what ever parmeter I try ,it
> just ask me to use --lm factor:order:filename.
>
>
> Running the training script
>
> For an standard phrase model, you will typically run the training
> script as follows.
>
> Run the training script:
>
> train-model.perl -root-dir . --corpus corpus/euro --f de --e en
>
> I want to build syntax-base translation model, what should I do?
>
> $MOSES/scripts/training/train-model.perl -ghkm -external-bin-dir
> /home/zhanwang/giza-pp/tools/ -root-dir . --corpus corpus/nl2mr --f mr
> --e nl
>
>
> here is my corpus:
>
> root@zhanwang-virtual-machine:/home/zhanwang/mosesmodel/corpus3/corpus# head
> nl2mr.nl <http://nl2mr.nl> nl2mr.mr <http://nl2mr.mr>
>
> ==> nl2mr.nl <http://nl2mr.nl> <==
>
> Give me the cities in Virginia .
>
> What are the high points of states surrounding Mississippi ?
>
>
> ==> nl2mr.mr <http://nl2mr.mr> <==
>
> answer city loc_2 stateid 'virginia'
>
> answer high_point_1 state next_to_2 stateid 'mississippi'
>
>
> I want to extract ghkm rules and build a model that can translate
> "Give me the cities in Virginia ." to "answer city loc_2 stateid
> 'virginia'"
>
> Thanks a lot.
>
> Zhanwang
>
>
>
> _______________________________________________
> 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/20160328/2133649e/attachment-0001.html

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

Message: 3
Date: Mon, 28 Mar 2016 15:46:11 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] ERROR: use --lm factor:order:filename to
specify at least one language model
To: Zhanwang Chen <zhanwang.c@gmail.com>, moses-support@mit.edu
Message-ID: <56F943B3.1060602@gmail.com>
Content-Type: text/plain; charset="windows-1252"



On 26/03/2016 12:37, Zhanwang Chen wrote:
> when I run:
> $MOSES/scripts/training/train-model.perl -hierarchical -ghkm
> -external-bin-dir /home/zhanwang/giza-pp/tools/ -root-dir . --corpus
> corpus/nl2mr --f mr --e nl
>
> showed:
> ERROR: use --lm factor:order:filename to specify at least one language
> model at /home/zhanwang/mosesdecoder/scripts/training/train-model.perl
> line 597.
>
> root@zhanwang-virtual-machine:/home/zhanwang/mosesmodel/corpus3#
> $MOSES/scripts/training/train-model.perl
>
> But I don't want to use factor model.
if you don't use factor, then the factor is 0
>
> try this too, show me the same thing. what ever parmeter I try ,it
> just ask me to use --lm factor:order:filename.
>
>
> Running the training script
>
> For an standard phrase model, you will typically run the training
> script as follows.
>
> Run the training script:
>
> train-model.perl -root-dir . --corpus corpus/euro --f de --e en
>
> I want to build syntax-base translation model, what should I do?
>
> $MOSES/scripts/training/train-model.perl -ghkm -external-bin-dir
> /home/zhanwang/giza-pp/tools/ -root-dir . --corpus corpus/nl2mr --f mr
> --e nl
>
>
> here is my corpus:
>
> root@zhanwang-virtual-machine:/home/zhanwang/mosesmodel/corpus3/corpus# head
> nl2mr.nl <http://nl2mr.nl> nl2mr.mr <http://nl2mr.mr>
>
> ==> nl2mr.nl <http://nl2mr.nl> <==
>
> Give me the cities in Virginia .
>
> What are the high points of states surrounding Mississippi ?
>
>
> ==> nl2mr.mr <http://nl2mr.mr> <==
>
> answer city loc_2 stateid 'virginia'
>
> answer high_point_1 state next_to_2 stateid 'mississippi'
>
>
> I want to extract ghkm rules and build a model that can translate
> "Give me the cities in Virginia ." to "answer city loc_2 stateid
> 'virginia'"
>
> Thanks a lot.
>
> Zhanwang
>
>
>
> _______________________________________________
> 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/20160328/1281416a/attachment.html

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

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


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

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

Post a Comment