From: GitHub <no...@gi...> - 2012-08-15 17:02:47
|
Branch: refs/heads/master Home: https://github.com/moses-smt/mosesdecoder Commit: 1883090a3d462739c21da59d2b538579d2a962ba https://github.com/moses-smt/mosesdecoder/commit/1883090a3d462739c21da59d2b538579d2a962ba Author: Lane Schwartz <dow...@gm...> Date: 2012-08-15 (Wed, 15 Aug 2012) Changed paths: A scripts/training/LexicalTranslationModel.pm A scripts/training/get-lexical.perl M scripts/training/train-model.perl Log Message: ----------- Moved code for calculating lexical translation probabilities into a new perl module called LexicalTranslationModel.pm. This commit moves the subroutine get_lexical (and its helper subroutines) from train-model.perl into LexicalTranslationModel.pm. This new perl module is now imported at the top of train-model.perl. This change should not affect users of train-model.perl at all. Doing this allows for the implementation of a stand-alone script which can be used to create lexical translation model files directly, given a word-aligned parallel corpus. This is often useful to do, and should now be easier to do. The new script is get-lexical.perl. Usage: scripts/training/get-lexical.perl source target alignments output_prefix Results: output_prefix.f2e output_prefix.e2f Commit: 6ed9b31c692a70db96b4830f0b9116e055c76707 https://github.com/moses-smt/mosesdecoder/commit/6ed9b31c692a70db96b4830f0b9116e055c76707 Author: Lane Schwartz <dow...@gm...> Date: 2012-08-15 (Wed, 15 Aug 2012) Changed paths: R contrib/other-builds/moses-chart-cmd.xcodeproj/xcuserdata/hieuhoang.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist R contrib/other-builds/moses-chart-cmd.xcodeproj/xcuserdata/hieuhoang.xcuserdatad/xcschemes/moses-chart-cmd.xcscheme R contrib/other-builds/moses-chart-cmd.xcodeproj/xcuserdata/hieuhoang.xcuserdatad/xcschemes/xcschememanagement.plist M contrib/other-builds/moses.xcodeproj/project.pbxproj A contrib/server/Translation-web/src/conf/MANIFEST.MF A contrib/server/Translation-web/src/java/com/hpl/mt/Translate.java A contrib/server/Translation-web/web/META-INF/context.xml A contrib/server/Translation-web/web/WEB-INF/web.xml A contrib/server/Translation-web/web/css/common.css A contrib/server/Translation-web/web/index.html A contrib/server/Translation-web/web/lib/jquery-1.6.4.js A contrib/server/Translation-web/web/lib/jquery-ui-1.8.16.custom.js M contrib/server/mosesserver.cpp M lm/model.cc M misc/processLexicalTableMin.cpp M misc/processPhraseTableMin.cpp M moses-cmd/src/LatticeMBRGrid.cpp M moses-cmd/src/Main.cpp M moses/src/CYKPlusParser/ChartRuleLookupManagerCYKPlus.cpp M moses/src/CYKPlusParser/ChartRuleLookupManagerMemory.cpp M moses/src/CYKPlusParser/ChartRuleLookupManagerMemoryPerSentence.cpp M moses/src/CYKPlusParser/ChartRuleLookupManagerMemoryPerSentence.h R moses/src/CellCollection.h M moses/src/ChartCellCollection.h M moses/src/CompactPT/BlockHashIndex.cpp M moses/src/CompactPT/CanonicalHuffman.h R moses/src/CompactPT/ConsistantPhrases.h A moses/src/CompactPT/ConsistentPhrases.h M moses/src/CompactPT/LexicalReorderingTableCompact.cpp M moses/src/CompactPT/LexicalReorderingTableCompact.h M moses/src/CompactPT/LexicalReorderingTableCreator.cpp M moses/src/CompactPT/LexicalReorderingTableCreator.h M moses/src/CompactPT/ListCoders.h M moses/src/CompactPT/PhraseDecoder.cpp M moses/src/CompactPT/PhraseDecoder.h M moses/src/CompactPT/PhraseDictionaryCompact.cpp M moses/src/CompactPT/PhraseDictionaryCompact.h M moses/src/CompactPT/PhraseTableCreator.cpp M moses/src/CompactPT/PhraseTableCreator.h M moses/src/GenerationDictionary.cpp M moses/src/Manager.cpp M moses/src/Manager.h M moses/src/Parameter.cpp M moses/src/PhraseDictionary.cpp A moses/src/RuleTable/PhraseDictionaryFuzzyMatch.cpp A moses/src/RuleTable/PhraseDictionaryFuzzyMatch.h M moses/src/RuleTable/PhraseDictionaryNodeSCFG.h R moses/src/RuleTable/PhraseDictionaryTMExtract.cpp R moses/src/RuleTable/PhraseDictionaryTMExtract.h M moses/src/SentenceStats.h M moses/src/Timer.cpp M moses/src/Timer.h M moses/src/TypeDef.h A moses/src/fuzzy-match/FuzzyMatchWrapper.cpp A moses/src/fuzzy-match/FuzzyMatchWrapper.h R moses/src/fuzzy-match/TMMTWrapper.cpp R moses/src/fuzzy-match/TMMTWrapper.h M scripts/ems/experiment.perl Log Message: ----------- Merge branch 'master' of www:/repos/git/Decoders/mosesdecoder Compare: https://github.com/moses-smt/mosesdecoder/compare/5868d2fa20b6...6ed9b31c692a |