In that case it must work. Check everything again. Delete all copies of
moses and start again. Check for spelling mistakes

Hieu
Sent while bumping into things

On 22 Jan 2017 3:14 p.m., "Hongzheng Li" <[email protected]> wrote:

> Hello Hieu,
>
> I haven't changed any moses codes at all, I just followed the instructions
> to build a base line system. And I'm sure I used the decoder compiled.
>
> Following are features in ./bin/moses
> BleuScoreFeature ConstrainedDecoding ControlRecombination
> CorrectionPattern CountNonTerms CoveredReferenceFeature DeleteRules
> DesegModel Distortion DynamicCacheBasedLanguageModel EditOps Generation
> GlobalLexicalModel HyperParameterAsWeight InputFeature KENLM
> LexicalReordering MaxSpanFreeNonTermSource Model1Feature NieceTerminal
> OpSequenceModel PhraseBoundaryFeature PhraseDictionaryALSuffixArray
> PhraseDictionaryBinary *PhraseDictionaryCompact*
> PhraseDictionaryDynamicCacheBased PhraseDictionaryFuzzyMatch
> PhraseDictionaryGroup PhraseDictionaryMemory PhraseDictionaryMemoryPerSentence
> PhraseDictionaryMemoryPerSentenceOnDemand PhraseDictionaryMultiModel
> PhraseDictionaryMultiModelCounts PhraseDictionaryOnDisk
> PhraseDictionaryScope3 PhraseDictionaryTransliteration
> PhraseDistanceFeature PhraseLengthFeature PhraseOrientationFeature
> PhrasePairFeature PhrasePenalty ProbingPT ReferenceComparison ReloadingLM
> RulePairUnlexicalizedSource RuleScope RuleTable SetSourcePhrase SkeletonLM
> SkeletonPT SkeletonStatefulFF SkeletonStatelessFF
> SkeletonTranslationOptionListFeature SoftMatchingFeature
> SoftSourceSyntacticConstraintsFeature SourceGHKMTreeInputMatchFeature
> SourceWordDeletionFeature SpanLength SparseHieroReorderingFeature
> SyntaxInputWeight SyntaxRHS TargetBigramFeature
> TargetConstituentAdjacencyFeature TargetNgramFeature
> TargetPreferencesFeature TargetWordInsertionFeature TreeStructureFeature
> UnalignedWordCountFeature UnknownWordPenalty WordPenalty
> WordTranslationFeature
>
> Best,
>
> Hongzheng Li
>
> 2017-01-22 4:00 GMT-05:00 Hieu Hoang <[email protected]>:
>
>> if you successfully compiled with cmph, then Moses will have
>> PhraseDictionaryCompact as a phrase-table, guaranteed. This is my
>> compilation
>>   ./bjam -j11  --with-cmph=/home/hieu/workspace/cmph/cmph-2.0
>> Getting a list of available feature functions:
>>   # ./bin/moses
>>   .....
>>   Available feature functions:
>> BleuScoreFeature ConstrainedDecoding ControlRecombination
>> CorrectionPattern CountNonTerms CoveredReferenceFeature DeleteRules
>> DesegModel Distortion DynamicCacheBasedLanguageModel EditOps Generation
>> GlobalLexicalModel HyperParameterAsWeight InMemoryPerSentenceOnDemandLM
>> InputFeature KENLM LexicalReordering MaxSpanFreeNonTermSource Model1Feature
>> NieceTerminal OpSequenceModel PhraseBoundaryFeature
>> PhraseDictionaryALSuffixArray PhraseDictionaryBinary
>> *PhraseDictionaryCompact* PhraseDictionaryDynamicCacheBased
>> PhraseDictionaryFuzzyMatch PhraseDictionaryGroup PhraseDictionaryMemory
>> PhraseDictionaryMemoryPerSentence PhraseDictionaryMemoryPerSentenceOnDemand
>> PhraseDictionaryMultiModel PhraseDictionaryMultiModelCounts
>> PhraseDictionaryOnDisk PhraseDictionaryScope3 PhraseDictionaryTransliteration
>> PhraseDistanceFeature PhraseLengthFeature PhraseOrientationFeature
>> PhrasePairFeature PhrasePenalty ProbingPT ReferenceComparison ReloadingLM
>> RulePairUnlexicalizedSource RuleScope RuleTable SetSourcePhrase SkeletonLM
>> SkeletonPT SkeletonStatefulFF SkeletonStatelessFF
>> SkeletonTranslationOptionListFeature SoftMatchingFeature
>> SoftSourceSyntacticConstraintsFeature SourceGHKMTreeInputMatchFeature
>> SourceWordDeletionFeature SpanLength SparseHieroReorderingFeature
>> SyntaxInputWeight SyntaxRHS TargetBigramFeature
>> TargetConstituentAdjacencyFeature TargetNgramFeature
>> TargetPreferencesFeature TargetWordInsertionFeature TreeStructureFeature
>> UnalignedWordCountFeature UnknownWordPenalty WordPenalty
>> WordTranslationFeature
>>
>> Have you edited the code at all? Are you sure you are using the decoder
>> you just compiled? Go back a retrace your steps.
>>
>> ps. Please always cc the mailing list so others can join in and see the
>> discussion for future reference
>>
>>
>> Hieu Hoang
>> http://moses-smt.org/
>>
>> On 22 January 2017 at 01:50, Hongzheng Li <[email protected]>
>> wrote:
>>
>>> PS: I guess I should also attach the output log file to you, thanks!
>>>
>>> 2017-01-21 20:46 GMT-05:00 Hongzheng Li <[email protected]>:
>>>
>>>> Hello Hieu,
>>>>
>>>> following is the command I ran for testing:
>>>>
>>>> nohup nice ~/Desktop/Moses/mosesdecoder/bin/moses -f
>>>> filtered-UNtestset/moses.ini < 
>>>> /data/rali5/Tmp/lihongzh/Moses-data/test/UNtestset.true.zh
>>>> > ~/Desktop/Moses/working/UNtest0121.out 2>
>>>> ~/Desktop/Moses/working/UNtest0121out.log
>>>>
>>>>
>>>> Attached are moses.ini under mert-work/ and the one under filtered
>>>> directory. Thank you!
>>>>
>>>> Best,
>>>>
>>>> Hongzheng Li
>>>>
>>>> 2017-01-21 18:20 GMT-05:00 Hieu Hoang <[email protected]>:
>>>>
>>>>> what is the EXACT command you used to run the decoder? Can you please
>>>>> attach your moses.ini file so I can check it.
>>>>>
>>>>> Hieu Hoang
>>>>> http://moses-smt.org/
>>>>>
>>>>> On 21 January 2017 at 23:00, Hongzheng Li <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi there:
>>>>>>
>>>>>> I'm testing the moses following the instructions on the website, but
>>>>>> I got the following errors:
>>>>>> *Exception: moses/FF/Factory.cpp:386 in void
>>>>>> Moses::FeatureRegistry::Construct(const string&, const string&) threw
>>>>>> UnknownFeatureException because `i == registry_.end()'.*
>>>>>> *Feature name PhraseDictionaryCompact is not registered*
>>>>>>
>>>>>> Although I have already compiled moses with cmph, I still recompiled
>>>>>> it again with the command:
>>>>>> ./bjam --with-cmph=/u/lihongzh/Desktop/Moses/cmph-2.0/
>>>>>> Compiling succeeded, but testing failed.
>>>>>> I then tried "./bjam --with-cmph=/u/lihongzh/Desktop/Moses/cmph-2.0/
>>>>>> -a " once again. Compiling succeeded, but testing still failed, with the
>>>>>> same above error.
>>>>>>
>>>>>> I'm so confused now, What should I do to solve the problem?
>>>>>>
>>>>>> Best,
>>>>>>
>>>>>> Hongzheng Li
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moses-support mailing list
>>>>>> [email protected]
>>>>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to