Skip to content
Browse files

Correctly pull in the environment python

  • Loading branch information...
1 parent cb87b04 commit 3c285164326870b11c16e0e62f24193f2f8b0281 Keoki Seu committed
View
2 analyze_chunked_corpus.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse
import nltk.corpus
from nltk.tree import Tree
View
2 analyze_chunker_coverage.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse, collections, math
import nltk.corpus, nltk.corpus.reader, nltk.data, nltk.tag, nltk.metrics
from nltk.corpus.util import LazyCorpusLoader
View
2 analyze_classifier_coverage.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse, collections, itertools, operator, re, string, time
import cPickle as pickle
import nltk.data
View
2 analyze_tagged_corpus.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse
import nltk.corpus
from nltk.corpus.util import LazyCorpusLoader
View
2 analyze_tagger_coverage.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse, collections, math, os.path
import nltk.corpus, nltk.corpus.reader, nltk.data, nltk.tag, nltk.metrics
from nltk.corpus.util import LazyCorpusLoader
View
2 categorized_corpus2csv.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse, csv, os.path
import nltk_trainer.classification.corpus
from nltk_trainer import load_corpus_reader
View
1 classify_corpus.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
import argparse, itertools, operator, os, os.path, string
import nltk.data
from nltk.corpus import stopwords
View
2 combine_classifiers.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse, os.path
import nltk.data
from nltk_trainer import dump_object
View
1 tag_phrases.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
import argparse, os.path
import cPickle as pickle
import nltk.data, nltk.tag
View
2 train_chunker.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse, math, itertools, os.path
import nltk.tag, nltk.chunk, nltk.chunk.util
import nltk_trainer.classification.args
View
2 train_classifier.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse, collections, itertools, math, os.path, re, string, operator
import nltk.data
import nltk_trainer.classification.args
View
2 train_tagger.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse, math, itertools, os.path
import nltk.corpus, nltk.data
import nltk_trainer.classification.args
View
1 translate_corpus.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
import argparse, os, os.path
import nltk.data
from nltk.misc import babelfish

0 comments on commit 3c28516

Please sign in to comment.
Something went wrong with that request. Please try again.