Skip to content

Commit

Permalink
Switch back to full corpus aligmnent
Browse files Browse the repository at this point in the history
  • Loading branch information
matgille committed Apr 19, 2024
1 parent 1bbc4f9 commit 42a8ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def run_alignments():
prefix = args.prefix
use_punctuation = args.use_punctuation
print(f"Punctuation for tokenization: {use_punctuation}")
MyAligner = Aligner(corpus_size=100, max_align=3, out_dir=out_dir, use_punctuation=use_punctuation, input_dir=input_dir, main_wit=main_wit, prefix=prefix)
MyAligner = Aligner(corpus_size=None, max_align=3, out_dir=out_dir, use_punctuation=use_punctuation, input_dir=input_dir, main_wit=main_wit, prefix=prefix)
MyAligner.parallel_align()
utils.write_json(f"result_dir/{out_dir}/alignment_dict.json", MyAligner.alignment_dict)
align_dict = utils.read_json(f"result_dir/{out_dir}/alignment_dict.json")
Expand Down

0 comments on commit 42a8ab3

Please sign in to comment.