Skip to content

Commit

Permalink
reviewer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
johnml1135 committed Nov 26, 2024
1 parent 6886078 commit f5d465d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ await _parallelCorpusPreprocessingService.Preprocess(
{
if (row.SourceSegment.Length > 0 || row.TargetSegment.Length > 0)
{
await sourceTrainWriter.WriteLineAsync(row.SourceSegment);
await targetTrainWriter.WriteLineAsync(row.TargetSegment);
await sourceTrainWriter.WriteAsync($"{row.SourceSegment}\n");
await targetTrainWriter.WriteAsync($"{row.TargetSegment}\n");
}
if (row.SourceSegment.Length > 0 && row.TargetSegment.Length > 0)
trainCount++;
Expand Down

0 comments on commit f5d465d

Please sign in to comment.