Skip to content

Commit

Permalink
removed eflomal refs, it's not used currently in opus-cat and the lic…
Browse files Browse the repository at this point in the history
…ense is restrictive
  • Loading branch information
TommiNieminen committed Jun 28, 2022
1 parent 3ead484 commit 109643b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions OpusCatMTEngine/Marian/MarianCustomizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down

0 comments on commit 109643b

Please sign in to comment.