diff options
-rwxr-xr-x[-rw-r--r--] | scripts/json2text.pl | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | scripts/vocab2txt.py | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/json2text.pl b/scripts/json2text.pl index 8ddce12c..7bd6117b 100644..100755 --- a/scripts/json2text.pl +++ b/scripts/json2text.pl @@ -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);
\ No newline at end of file +print "$_\n" foreach(@v); diff --git a/scripts/vocab2txt.py b/scripts/vocab2txt.py index fb054fa2..cfe26f06 100644..100755 --- a/scripts/vocab2txt.py +++ b/scripts/vocab2txt.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import sys import cPickle import operator |