From 8715101239d4d80b05449f11c3108c574cecb348 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 17 Feb 2015 22:08:02 -0500 Subject: [PATCH] * Merge changes from stash --- bin/parser/train.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/parser/train.py b/bin/parser/train.py index a1d87d059..747bf978d 100755 --- a/bin/parser/train.py +++ b/bin/parser/train.py @@ -61,8 +61,13 @@ def read_docparse_gold(file_): tags = [] ids = [] lines = sent_str.strip().split('\n') +<<<<<<< HEAD raw_text = lines.pop(0).strip() tok_text = lines.pop(0).strip() +======= + raw_text = lines.pop(0) + tok_text = lines.pop(0) +>>>>>>> master for i, line in enumerate(lines): id_, word, pos_string, head_idx, label = _parse_line(line) if label == 'root':