try running again with the config file I've attached.

this creates an ini file that uses kenlm instead of SRILM. It just add
these 2 lines:
   lm-binarizer = $moses-bin-dir/build_binary
   type = 8



On 12 September 2013 12:04, karan sharma <[email protected]>wrote:

> sir,
> I have attached the moses.ini file and alos the config file.I have also
> trained a phrase based and hierarchal based models.I didn't had any issues
> at that time.Probably my input files may not be in right format.
>
> If you could possibly provide the the all the input files along with their
> content format.
>
> Training files format:
> src-lang : word+POS
> target-lang : word+POS
>
> LM
> target-lang : word only
>
> Tuning
> src-lang : word+POS
> src-lang-sgm=word+POS
>
> target-language=word+POS
> target-language-sgm=word only
>
> Testing
>
> src-lang : word+POS
>  src-lang-sgm=word+POS
>
> target-language=word+POS
> target-language-sgm=word only
>
> Regards
>
> On Thu, Sep 12, 2013 at 3:15 PM, Hieu Hoang <[email protected]> wrote:
>
>> hi karan
>>
>> you can see an example of the ini file here
>>
>> https://github.com/moses-smt/moses-regression-tests/blob/master/tests/phrase.basic-surface-only/moses.ini
>> can I have a look at your ini file? How was it created?
>>
>> You you updated your moses decoder, you must use the updated EMS and
>> training scripts
>>
>>
>>
>>  On 12 September 2013 11:28, karan sharma <[email protected]>wrote:
>>
>>>  Hi,
>>> I want to train a factored model using words and POS in EMS.
>>> I am getting an error in tuning stage.
>>>
>>> Exception: moses/FF/Factory.cpp:173 in void
>>> Moses::FeatureRegistry::Construct(const string&, const string&) threw
>>> UnknownFeatureException because `i == registry_.end()'.
>>> Feature name SRILM is not registered.
>>>
>>> Can anyone provide the format of files, (train,LM,test,tuning etc)
>>> beacuse I might be using files in wrong format.
>>>
>>>
>>> Regards
>>>
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> [email protected]
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>>
>>
>>
>> --
>> Hieu Hoang
>> Research Associate
>> University of Edinburgh
>> http://www.hoang.co.uk/hieu
>>
>>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>


-- 
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu

Attachment: config.factor
Description: Binary data

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to