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. Reg : Factored Models input format (karan singla)
2. Re: Reg : Factored Models input format (karan singla)
----------------------------------------------------------------------
Message: 1
Date: Mon, 12 Oct 2015 21:41:50 +0200
From: karan singla <ksingla025@gmail.com>
Subject: [Moses-support] Reg : Factored Models input format
To: moses-support@mit.edu
Message-ID:
<CAFesLv7L8uJ50vQhLqz3Ct=R5=8tksmp3kR_dEKB+r4NjGdENA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello all,
I am trying to train a factored model but I don't remember how to set right
definition of factors. I am changing toy config.factored file.
I have data of type "Word1|NN Word2|VB Word3|JJ ...." on the target side
with no factors on the source side. It will be great if someone can tell me
how should I change the factor definition according to my data.
# FACTOR DEFINITION
#[INPUT-FACTOR]
# also used for output factors
temp-dir = $working-dir/training/factor
#[OUTPUT-FACTOR:pos]
### script that generates this factor
#
mxpost = /home/pkoehn/bin/mxpost
factor-script =
"$moses-script-dir/training/wrappers/make-factor-en-pos.mxpost.perl
-mxpost $mxpost"
Thanks & Regards,
Karan Singla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151012/041cb02d/attachment-0001.html
------------------------------
Message: 2
Date: Tue, 13 Oct 2015 01:05:02 +0200
From: karan singla <ksingla025@gmail.com>
Subject: Re: [Moses-support] Reg : Factored Models input format
To: moses-support@mit.edu
Message-ID:
<CAFesLv4gC3L=n=UmUmEMLVKOsog6WZYu7pmo8yYbot3zg8JoUQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello,
I need to skip factors from an external pos-tagger like in the
config.factored. Instead I need it work it for my data.
Sample training sentence :
Source : Pressure of excretion remains .
Target : kupoRaNa|r6 ke|na kaI|na rUpa|k1s hEM|main .|na
I am attaching my config file along with it.
Error I am getting is
"ERROR: you need to define INPUT-FACTOR:temp-dir"
Looking for some suggestions
Regards,
Karan
On Mon, Oct 12, 2015 at 9:41 PM, karan singla <ksingla025@gmail.com> wrote:
> Hello all,
>
> I am trying to train a factored model but I don't remember how to set
> right definition of factors. I am changing toy config.factored file.
>
> I have data of type "Word1|NN Word2|VB Word3|JJ ...." on the target side
> with no factors on the source side. It will be great if someone can tell me
> how should I change the factor definition according to my data.
>
> # FACTOR DEFINITION
>
> #[INPUT-FACTOR]
>
> # also used for output factors
>
> temp-dir = $working-dir/training/factor
>
> #[OUTPUT-FACTOR:pos]
>
> ### script that generates this factor
>
> #
>
> mxpost = /home/pkoehn/bin/mxpost
>
> factor-script = "$moses-script-dir/training/wrappers/make-factor-en-pos.mxpost.perl
> -mxpost $mxpost"
>
>
> Thanks & Regards,
> Karan Singla
>
--
Regards,
Karan Singla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151012/0408cd0b/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.factored
Type: application/octet-stream
Size: 21038 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20151012/0408cd0b/attachment.obj
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 108, Issue 46
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 108, Issue 46"
Post a Comment