diff options
author | Kenneth Heafield <github@kheafield.com> | 2016-04-18 17:55:25 +0300 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2016-04-18 17:55:25 +0300 |
commit | 30451239b8edd7bb7d086145f65d9099025012c6 (patch) | |
tree | 1d1038286fab9fe50aef17ae4e1f1a08ce68065b /scripts | |
parent | 89bc8b1d36946c7dff14a9d189c8c0fe27d7049e (diff) |
Shebang
Diffstat (limited to 'scripts')
-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 |