[Moses-support] hypergraph decoding with the decoder

2017-08-24 Thread Angli Liu
Hi all,

I'm wondering how to decode hypergraph using the

-search-algorithm 5

feature in the moses decoder? What format should the hypergraph be written
in? (Is it the same as what https://github.com/kpu/lazy requires?) What
format of the language model does it support?

Thanks,
Angli
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] question in manual

2017-08-24 Thread Gary Hess
Is it possible that the file "~/corpus/truecase-model.en" is created in the 
step in your message, so it is the output from "train-truecaser.perl"? See 
http://www.statmt.org/moses/?n=Moses.SupportTools#ntoc11 for details. I built 
the baseline system and I have that file.
Support Tools - Statistical Machine 
Translation
www.statmt.org
Converting Pharaoh configuration files to Moses configuration files. Moses is a 
successor to the Pharaoh decoder, so you can use the same models that work for 
Pharaoh ...


In section 2.3 in the example, in the truecase example, there is:

~/mosesdecoder/scripts/recaser/train-truecaser.perl \
--model ~/corpus/truecase-model.en --corpus \
~/corpus/news-commentary-v8.fr-en.tok.en
~/mosesdecoder/scripts/recaser/train-truecaser.perl \
--model ~/corpus/truecase-model.fr --corpus \
~/corpus/news-commentary-v8.fr-en.tok.fr

Where does ~/corpus/truecase-model.en come from. It is not in the
distribution and I can't see where you build it on  a previous step (unless
I missed it).


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


Re: [Moses-support] question in manual

2017-08-24 Thread Jeff Smith
Thanks, I am all set now.

On Thu, Aug 24, 2017 at 3:26 PM, Gary Hess  wrote:

> Is it possible that the file "*~/corpus/truecase-model.en*" is created in
> the step in your message, so it is the output from "*train-truecaser.perl*"?
> See http://www.statmt.org/moses/?n=Moses.SupportTools#ntoc11 for details.
> I built the baseline system and I have that file.
> Support Tools - Statistical Machine Translation
> 
> www.statmt.org
> Converting Pharaoh configuration files to Moses configuration files. Moses
> is a successor to the Pharaoh decoder, so you can use the same models that
> work for Pharaoh ...
>
> *In section 2.3 in the example, in the truecase example, there is:*
>
> *~/mosesdecoder/scripts/recaser/train-truecaser.perl \*
> *--model ~/corpus/truecase-model.en --corpus \*
> *~/corpus/news-commentary-v8.fr-en.tok.en*
> *~/mosesdecoder/scripts/recaser/train-truecaser.perl \*
> *--model ~/corpus/truecase-model.fr  --corpus \*
> *~/corpus/news-commentary-v8.fr-en.tok.fr
> *
>
> *Where does ~/corpus/truecase-model.en come from. It is not in the*
> *distribution and I can't see where you build it on  a previous step
> (unless*
> *I missed it).*
>
>
>


-- 
*Jeffrey Smith, PhD*
Chief Systems Engineer and E2 Lead
Multi Agency Collaboration Environment (MACE)
Sierra Nevada Corporation
3076 Centreville Road, Herndon, VA 20171
703-464-6434 (Office)
603-566-0124 (Cell)
jeff.sm...@macefusion.com
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


Re: [Moses-support] escape space in path for EMS

2017-08-24 Thread Hieu Hoang
You can't escape spaces in Moses. Change the drive name or create a
softlink. You may need to build up experience of using Linux, you are
likely to encounter more issues

Hieu Hoang
http://moses-smt.org/


On 21 August 2017 at 17:24, Stef M  wrote:

> Dear all,
>
> due to memory problems I would like to run an EMS experiment on my
> external drive. I am using unix and my external drive is named "TOSHIBA
> EXT" and my config file keeps giving error due to that space in the path. I
> tried escaping it with "\" and enclosing the whole path in "". I thought
> about renaming my external drive, but I get permission denied when trying
> that in terminal and before digging more into how to rename it, maybe
> someone can help me with how to escape the space.
>
> Thank you very much!
>
> STARTING UP AS PROCESS 21828 ON natspc15 AT Mon Aug 21 18:23:07 CEST 2017
> LOAD CONFIG...
> working directory is /media/mstef/TOSHIBA EXT/WMT_2017/exp_EN-FR_wmt_bs
> mkdir: cannot create directory ‘/media/mstef/TOSHIBA’: Permission denied
>
>
>
> ___
> 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


Re: [Moses-support] Moses Build Error

2017-08-24 Thread Hieu Hoang
what version of clang do you have on your machine? It works fine on my Mac
with the following version
  $clang --version
  Apple LLVM version 8.1.0 (clang-802.0.42)
You may need to update if yours is older


Hieu Hoang
http://moses-smt.org/


On 24 August 2017 at 09:18, Aileen Joan Vicente  wrote:

> Hi all! I tried to compile moses again and found this error:
>
> error: invalid argument '-std=c++0x' not allowed with 'C/ObjC'
>
>
> "clang++" -x c -O3 -std=c++0x -O3 -finline-functions -Wno-inline
> -Wall -DKENLM_MAX_ORDER=6 -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2766-g23cf6c4\"
> -DNDEBUG -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -I"." -c -o "symal/bin/clang-darwin-4.2.1/
> release/link-static/threading-multi/cmd.o" "symal/cmd.c"
>
>
> What does this mean?
>
> I am on Mac OS X Sierra.
>
>
> Thank you.
>
> ___
> 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] question in manual

2017-08-24 Thread Jeff Smith
In section 2.3 in the example, in the truecase example, there is:

~/mosesdecoder/scripts/recaser/train-truecaser.perl \
--model ~/corpus/truecase-model.en --corpus \
~/corpus/news-commentary-v8.fr-en.tok.en
~/mosesdecoder/scripts/recaser/train-truecaser.perl \
--model ~/corpus/truecase-model.fr --corpus \
~/corpus/news-commentary-v8.fr-en.tok.fr

Where does ~/corpus/truecase-model.en come from. It is not in the
distribution and I can't see where you build it on  a previous step (unless
I missed it).
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] Moses Build Error

2017-08-24 Thread Aileen Joan Vicente
Hi all! I tried to compile moses again and found this error:

error: invalid argument '-std=c++0x' not allowed with 'C/ObjC'


"clang++" -x c -O3 -std=c++0x -O3 -finline-functions -Wno-inline -Wall
-DKENLM_MAX_ORDER=6 -DMOSES_VERSION_ID=\"mmt-mvp-v0.12.1-2766-g23cf6c4\"
-DNDEBUG -DTRACE_ENABLE=1 -DWITH_THREADS -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -I"." -c -o
"symal/bin/clang-darwin-4.2.1/release/link-static/threading-multi/cmd.o"
"symal/cmd.c"


What does this mean?

I am on Mac OS X Sierra.


Thank you.
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support