Hi Hieu,

It works now. I didn't manage to make binarize4moses2.perl work as
sigtest-filter didn't compile and SALM page seems down.

Thanks,
Guchun

On 8 March 2017 at 16:01, Guchun Zhang <[email protected]> wrote:

> Ah, cool. Will let you know how it goes in a few days time.
>
> Thanks a lot,
> Guchun
>
> On 8 March 2017 at 14:49, Hieu Hoang <[email protected]> wrote:
>
>> cool, nearly there.
>>
>> moses2 only supports ProbingPT, not PhraseDictionaryOnDisk
>>   http://www.statmt.org/moses/?n=Site.Moses2
>> use the script
>>   scripts/generic/binarize4moses2.perl
>> to binarize. If you are using hiero models, don't forget the flag --scfg
>>
>> * Looking for MT/NLP opportunities *
>> Hieu Hoang
>> http://moses-smt.org/
>>
>>
>> On 8 March 2017 at 14:43, Guchun Zhang <[email protected]> wrote:
>>
>>> Great. The fix works. :-)
>>>
>>> As with many things, now there's this run time error:
>>>
>>> Feature name PhraseDictionaryOnDisk is not registered.Aborted (core
>>> dumped)
>>>
>>> My hie models are binarised. Should I skip binarisation for such models
>>> from now on?
>>>
>>> Thanks,
>>> Guchun
>>>
>>> On 8 March 2017 at 14:02, Hieu Hoang <[email protected]> wrote:
>>>
>>>> git pull and try again. I've just pushed a fix
>>>>    https://github.com/moses-smt/mosesdecoder/commit/ac3069fb32d
>>>> 87c57ac84d5bac3d07328b5ab71dd
>>>>
>>>> * Looking for MT/NLP opportunities *
>>>> Hieu Hoang
>>>> http://moses-smt.org/
>>>>
>>>>
>>>> On 8 March 2017 at 12:48, Guchun Zhang <[email protected]> wrote:
>>>>
>>>>> Sure. Both are attached. Thanks, Guchun
>>>>>
>>>>> On 8 March 2017 at 11:52, Hieu Hoang <[email protected]> wrote:
>>>>>
>>>>>> what's the exact bjam command you used, and can I please have a look
>>>>>> at the compile error
>>>>>>
>>>>>> * Looking for MT/NLP opportunities *
>>>>>> Hieu Hoang
>>>>>> http://moses-smt.org/
>>>>>>
>>>>>>
>>>>>> On 8 March 2017 at 11:48, Guchun Zhang <[email protected]> wrote:
>>>>>>
>>>>>>> Have to say ​I can't disagree with that.​
>>>>>>>
>>>>>>> Moses2 still doesn't compile when --max-kenlm-order is passed.
>>>>>>>
>>>>>>> HTH.
>>>>>>>
>>>>>>> Guchun
>>>>>>>
>>>>>>> On 8 March 2017 at 10:29, Hieu Hoang <[email protected]> wrote:
>>>>>>>
>>>>>>>> I guess the cost/benefit ratio isn't high enough for commercial
>>>>>>>> users using the server, but you can probably answer that better. 
>>>>>>>> Hopefully
>>>>>>>> the faster Moses2 implementation can improve that.
>>>>>>>>
>>>>>>>> If it doesn't compile, please let me know
>>>>>>>>
>>>>>>>> * Looking for MT/NLP opportunities *
>>>>>>>> Hieu Hoang
>>>>>>>> http://moses-smt.org/
>>>>>>>>
>>>>>>>>
>>>>>>>> On 8 March 2017 at 09:31, Guchun Zhang <[email protected]> wrote:
>>>>>>>>
>>>>>>>>> Also, may I ask why hie models aren't commonly used in the server
>>>>>>>>> mode?
>>>>>>>>>
>>>>>>>>> On 8 March 2017 at 09:28, Guchun Zhang <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> ​Thanks, Hieu. I will give Moses2 another try. Last time, it
>>>>>>>>>> didn't compile.​
>>>>>>>>>>
>>>>>>>>>> On 7 March 2017 at 18:35, Hieu Hoang <[email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> if you're not able to fix it, you might wanna try the hiero
>>>>>>>>>>> model on Moses2
>>>>>>>>>>>    http://www.statmt.org/moses/?n=Site.Moses2
>>>>>>>>>>> I don't think the hiero model is used much in server mode so
>>>>>>>>>>> it's suffering from code rot.
>>>>>>>>>>>
>>>>>>>>>>> The model is much faster in Moses2 so hopefully more people will
>>>>>>>>>>> use it. The server code is also much simplier
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> * Looking for MT/NLP opportunities *
>>>>>>>>>>> Hieu Hoang
>>>>>>>>>>> http://moses-smt.org/
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 7 March 2017 at 17:46, Guchun Zhang <[email protected]>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I pull the repo recently and just noticed that mosesserver
>>>>>>>>>>>> outputs empty strings for hie models. The command I issued is
>>>>>>>>>>>>
>>>>>>>>>>>> *$ mosesserver --config moses.tuned.ini*
>>>>>>>>>>>>
>>>>>>>>>>>> There's no error message at all. Tried to record the server log
>>>>>>>>>>>> and this is the log:
>>>>>>>>>>>>
>>>>>>>>>>>> *127.0.0.1:43644 <http://127.0.0.1:43644> - no_user -
>>>>>>>>>>>> [07/Mar/2017:17:37:48 +0000] "POST" 200 581*
>>>>>>>>>>>>
>>>>>>>>>>>> Is "no_user" causing the problem? The same ini runs fine with
>>>>>>>>>>>> moses.
>>>>>>>>>>>>
>>>>>>>>>>>> It's been a while (more than a year at least) since last time I
>>>>>>>>>>>> looked at the source code and it seems the code has changed a lot. 
>>>>>>>>>>>> Where
>>>>>>>>>>>> should I start to debug it?
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Guchun
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Moses-support mailing list
>>>>>>>>>>>> [email protected]
>>>>>>>>>>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Guchun Zhang*
>>>>>>>>>> Machine Translation Lead
>>>>>>>>>>  <http://www.thisisalpha.com/>
>>>>>>>>>> Office: +44(0)1223 431035 <+44%201223%20431035> | Skype:
>>>>>>>>>> mt.alpha | *thisisalpha.com* <http://www.thisisalpha.com/>
>>>>>>>>>> St Andrews House, St Andrew Road | Cambridge CB4 1DL | United
>>>>>>>>>> Kingdom
>>>>>>>>>> [image: ALPHA]
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Guchun Zhang*
>>>>>>>>> Machine Translation Lead
>>>>>>>>>  <http://www.thisisalpha.com/>
>>>>>>>>> Office: +44(0)1223 431035 <01223%20431035> | Skype: mt.alpha |
>>>>>>>>> *thisisalpha.com* <http://www.thisisalpha.com/>
>>>>>>>>> St Andrews House, St Andrew Road | Cambridge CB4 1DL | United
>>>>>>>>> Kingdom
>>>>>>>>> [image: ALPHA]
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Guchun Zhang*
>>>>>>> Machine Translation Lead
>>>>>>>  <http://www.thisisalpha.com/>
>>>>>>> Office: +44(0)1223 431035 <01223%20431035> | Skype: mt.alpha |
>>>>>>> *thisisalpha.com* <http://www.thisisalpha.com/>
>>>>>>> St Andrews House, St Andrew Road | Cambridge CB4 1DL | United Kingdom
>>>>>>> [image: ALPHA]
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Guchun Zhang*
>>>>> Machine Translation Lead
>>>>>  <http://www.thisisalpha.com/>
>>>>> Office: +44(0)1223 431035 <01223%20431035> | Skype: mt.alpha |
>>>>> *thisisalpha.com* <http://www.thisisalpha.com/>
>>>>> St Andrews House, St Andrew Road | Cambridge CB4 1DL | United Kingdom
>>>>> [image: ALPHA]
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Guchun Zhang*
>>> Machine Translation Lead
>>>  <http://www.thisisalpha.com/>
>>> Office: +44(0)1223 431035 <01223%20431035> | Skype: mt.alpha |
>>> *thisisalpha.com* <http://www.thisisalpha.com/>
>>> St Andrews House, St Andrew Road | Cambridge CB4 1DL | United Kingdom
>>> [image: ALPHA]
>>>
>>
>>
>
>
> --
> *Guchun Zhang*
> Machine Translation Lead
>  <http://www.thisisalpha.com/>
> Office: +44(0)1223 431035 <+44%201223%20431035> | Skype: mt.alpha |
> *thisisalpha.com* <http://www.thisisalpha.com/>
> St Andrews House, St Andrew Road | Cambridge CB4 1DL | United Kingdom
> [image: ALPHA]
>



-- 
*Guchun Zhang*
Machine Translation Lead
 <http://www.thisisalpha.com/>
Office: +44(0)1223 431035 | Skype: mt.alpha | *thisisalpha.com*
<http://www.thisisalpha.com/>
St Andrews House, St Andrew Road | Cambridge CB4 1DL | United Kingdom
[image: ALPHA]
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to