mosesdecoder/phrase-extract/extract-ghkm
Phil Williams b5584fdecf extract-ghkm: workaround for extract-parallel issue
Don't write glue grammar or unknown word label files unless the sentence
offset is 0.  This prevents multiple instances of extract-ghkm writing
to the same two files when extract-parallel is used.

TODO Better solutions might be:
 1. modify extract-parallel so that it only configures one instance of
    extract-ghkm to write the glue / unknown-lhs files (like the current
    workaround, this assumes file chunks are representative of the whole)
 2. add multithreading support directly to extract-ghkm
 3. write distinct output files for each extract-ghkm instance and
    combine them on completion
2013-07-23 14:55:16 +01:00
..
Alignment.cpp beautify 2013-05-29 18:16:15 +01:00
Alignment.h beautify 2013-05-29 18:16:15 +01:00
AlignmentGraph.cpp beautify 2013-05-29 18:16:15 +01:00
AlignmentGraph.h beautify 2013-05-29 18:16:15 +01:00
ComposedRule.cpp beautify 2013-05-29 18:16:15 +01:00
ComposedRule.h beautify 2013-05-29 18:16:15 +01:00
Exception.h beautify 2013-05-29 18:16:15 +01:00
ExtractGHKM.cpp extract-ghkm: workaround for extract-parallel issue 2013-07-23 14:55:16 +01:00
ExtractGHKM.h beautify 2013-05-29 18:16:15 +01:00
Jamfile Fix extract-ghkm compilation 2012-11-12 16:50:46 +00:00
Main.cpp beautify 2013-05-29 18:16:15 +01:00
Node.cpp beautify 2013-05-29 18:16:15 +01:00
Node.h beautify 2013-05-29 18:16:15 +01:00
Options.h beautify 2013-05-29 18:16:15 +01:00
ParseTree.cpp beautify 2013-05-29 18:16:15 +01:00
ParseTree.h beautify 2013-05-29 18:16:15 +01:00
ScfgRule.cpp beautify 2013-05-29 18:16:15 +01:00
ScfgRule.h beautify 2013-05-29 18:16:15 +01:00
ScfgRuleWriter.cpp beautify 2013-05-29 18:16:15 +01:00
ScfgRuleWriter.h beautify 2013-05-29 18:16:15 +01:00
Span.cpp beautify 2013-05-29 18:16:15 +01:00
Span.h beautify 2013-05-29 18:16:15 +01:00
Subgraph.cpp beautify 2013-05-29 18:16:15 +01:00
Subgraph.h beautify 2013-05-29 18:16:15 +01:00
XmlTreeParser.cpp beautify 2013-05-29 18:16:15 +01:00
XmlTreeParser.h beautify 2013-05-29 18:16:15 +01:00