diff options
author | Phil Williams <philip.williams@mac.com> | 2012-12-18 00:08:02 +0400 |
---|---|---|
committer | Phil Williams <philip.williams@mac.com> | 2012-12-18 00:08:02 +0400 |
commit | 139148bc8fd5e77c95157bc82c459a0612e64890 (patch) | |
tree | c7ac893fd5c44426260890235bb70f3747d82bc2 /phrase-extract/relax-parse-main.cpp | |
parent | 0ca5b8932a7d15ab725cac72ee077b98d4fa6c6f (diff) |
extract-ghkm and friends: don't unescape special characters
Don't unescape special characters when reading XML parse trees in
extract-ghkm, extract-rules, and relax-parse.
Diffstat (limited to 'phrase-extract/relax-parse-main.cpp')
-rw-r--r-- | phrase-extract/relax-parse-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phrase-extract/relax-parse-main.cpp b/phrase-extract/relax-parse-main.cpp index ac06174e8..a58d4d97f 100644 --- a/phrase-extract/relax-parse-main.cpp +++ b/phrase-extract/relax-parse-main.cpp @@ -49,7 +49,7 @@ int main(int argc, char* argv[]) set< string > labelCollection; // set of labels, not used map< string, int > topLabelCollection; // count of top labels, not used SyntaxTree tree; - ProcessAndStripXMLTags( inBufferString, tree, labelCollection, topLabelCollection ); + ProcessAndStripXMLTags( inBufferString, tree, labelCollection, topLabelCollection, false ); vector< string > inWords = tokenize( inBufferString.c_str() ); // output tree |