From bb910cff9214b9898ba759a7ba5089944427f0ad Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 28 Jul 2015 16:06:53 +0200 Subject: [PATCH] * Fix Python3 problem in align_raw --- spacy/munge/align_raw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/munge/align_raw.py b/spacy/munge/align_raw.py index bda2e33c6..6bdb91abf 100644 --- a/spacy/munge/align_raw.py +++ b/spacy/munge/align_raw.py @@ -211,9 +211,9 @@ def do_web(src_dir, onto_dir, out_dir): src_doc = sgml_extract(open(src_loc).read()) ptb_doc = [read_ptb.parse(parse_str, strip_bad_periods=True)[0] for parse_str in read_ptb.split(open(ptb_loc).read())] - print 'Found' + print('Found') else: - print 'Miss' + print('Miss') def may_mkdir(parent, *subdirs):