diff --git a/2017-07_Seminar/Session 1 - SENNA/code for POS/preprocess.py b/2017-07_Seminar/Session 1 - SENNA/code for POS/preprocess.py index 95114bd..7f063f8 100644 --- a/2017-07_Seminar/Session 1 - SENNA/code for POS/preprocess.py +++ b/2017-07_Seminar/Session 1 - SENNA/code for POS/preprocess.py @@ -25,6 +25,7 @@ import pickle as pkl else: #Python 2.7 imports import cPickle as pkl + from io import open #We download English word embeddings from here https://www.cs.york.ac.uk/nlp/extvec/ embeddingsPath = 'embeddings/wiki_extvec.gz'