From b7e069aa141e17ace64d47fa6c514149827df3f4 Mon Sep 17 00:00:00 2001 From: jiangfeng1124 Date: Tue, 21 May 2013 19:59:21 +0800 Subject: [PATCH] fixed a xml-parsing problem --- src/__xml4nlp/Xml4nlp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/__xml4nlp/Xml4nlp.cpp b/src/__xml4nlp/Xml4nlp.cpp index fd5fe28fb..40eb8337c 100644 --- a/src/__xml4nlp/Xml4nlp.cpp +++ b/src/__xml4nlp/Xml4nlp.cpp @@ -681,8 +681,8 @@ int XML4NLP::GetParsesFromSentence(vector< pair > &vecParse, return -1; } - vecParent.resize(wordNum); - vecRelate.resize(wordNum); + // vecParent.resize(wordNum); + // vecRelate.resize(wordNum); if (0 != GetInfoFromSentence(vecParent, paragraphIdx, sentenceIdx, TAG_PSR_PARENT)) { return -1;