From 6430ff4318ef2350cce3ae6d5fbe9e0a551d9c4f Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 16 Sep 2019 22:21:38 +0300 Subject: Dictionary creation done --- train_dic_creator.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'train_dic_creator.pl') diff --git a/train_dic_creator.pl b/train_dic_creator.pl index a8de6ea..1921a85 100755 --- a/train_dic_creator.pl +++ b/train_dic_creator.pl @@ -109,8 +109,8 @@ my @tail = @result[-$size..-1]; my $train_file_name = $source_lang . '_' . $target_lang . '.train'; my $test_file_name = $source_lang . '_' . $target_lang . '.test'; -open my $train_fh, '>', $train_file_name; -open my $test_fh, '>', $test_file_name; +open my $train_fh, '>', $dict_dir . $train_file_name; +open my $test_fh, '>', $dict_dir . $test_file_name; print $train_fh join("\n", @head); print $test_fh join("\n", @tail); -- cgit v1.2.3-70-g09d2