mirror of
https://github.com/marian-nmt/marian.git
synced 2025-01-07 17:10:15 +03:00
Shebang
This commit is contained in:
parent
89bc8b1d36
commit
30451239b8
3
scripts/json2text.pl
Normal file → Executable file
3
scripts/json2text.pl
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env perl
|
||||
use strict;
|
||||
use JSON;
|
||||
use Data::Dumper;
|
||||
@ -12,4 +13,4 @@ my @v;
|
||||
foreach my $k (keys %$d) {
|
||||
$v[$d->{$k}] = $k;
|
||||
}
|
||||
print "$_\n" foreach(@v);
|
||||
print "$_\n" foreach(@v);
|
||||
|
1
scripts/vocab2txt.py
Normal file → Executable file
1
scripts/vocab2txt.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
import sys
|
||||
import cPickle
|
||||
import operator
|
||||
|
Loading…
Reference in New Issue
Block a user