diff --git a/OpusCatMTEngine/Marian/MarianCustomizer.cs b/OpusCatMTEngine/Marian/MarianCustomizer.cs index 7a6d6af..066a820 100644 --- a/OpusCatMTEngine/Marian/MarianCustomizer.cs +++ b/OpusCatMTEngine/Marian/MarianCustomizer.cs @@ -197,13 +197,13 @@ public Process Customize() if (this.guidedAlignment) { //Generate alignments for fine-tuning corpus - this.alignmentFile = new FileInfo(Path.Combine(this.customDir.FullName, "custom.alignments")); - MarianHelper.GenerateAlignments(this.spSource, this.spTarget, this.alignmentFile, this.model.AlignmentPriorsFile); + //this.alignmentFile = new FileInfo(Path.Combine(this.customDir.FullName, "custom.alignments")); + //MarianHelper.GenerateAlignments(this.spSource, this.spTarget, this.alignmentFile, this.model.AlignmentPriorsFile); // //Generate alignments for validation set (for evaluating fine-tuning effect on alignment) - this.validAlignmentFile = new FileInfo(Path.Combine(this.customDir.FullName, "combined.alignments")); - MarianHelper.GenerateAlignments(this.spValidSource, this.spValidTarget, this.validAlignmentFile, this.model.AlignmentPriorsFile); + //this.validAlignmentFile = new FileInfo(Path.Combine(this.customDir.FullName, "combined.alignments")); + //MarianHelper.GenerateAlignments(this.spValidSource, this.spValidTarget, this.validAlignmentFile, this.model.AlignmentPriorsFile); } this.OnProgressChanged(new ProgressChangedEventArgs(4, new MarianCustomizationStatus(CustomizationStep.Initial_evaluation, null)));