please subscribe to the Moses mailing list. You can subscribe here:
http://mailman.mit.edu/mailman/listinfo/moses-support
to answer your question:
./moses -feature-add "PhraseDictionaryCompact path=..." "KENLM
path=..." -weight-add "PhraseDictionaryCompact0= 0.1 0.2 0.3 0.4" "LM0=
0.7"
-------- Forwarded Message --------
Subject: Moses-support post from [email protected] requires approval
Date: Fri, 20 Feb 2015 05:32:55 -0500
From: [email protected]
To: [email protected]
As list administrator, your authorization is requested for the
following mailing list posting:
List: [email protected]
From: [email protected]
Subject: Command line switch for LM and ttable
Reason: Post by non-member to a members-only list
At your convenience, visit:
http://mailman.mit.edu/mailman/admindb/moses-support
to approve or deny the request.
--- Begin Message ---
Hello,
I am trying to enter the translation table and language model pathes
via command line switch instead of defining them in the ini file while
running Moses.
Unfortunately, the old switches ttable-file and lmodel-file are
deprecated and do not work anymore.
Does anybody know the right switches for the new format?
Thanks in advance,
Sarah
--- End Message ---
--- Begin Message ---
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message. Do this if the message is
spam. If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list. The Approved: header can also appear in the first line
of the body of the reply.
--- End Message ---
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support