diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-07-08 23:25:47 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-07-08 23:25:47 +0400 |
commit | 3eba5782c2df7b03cf2dad99b52e0a97c0ca39e9 (patch) | |
tree | 6f434c72db57d5b21b7cdcd64b4cdc8ebf62e2a0 /phrase-extract | |
parent | 2203bb328470cc6657c8c2dcbbbfaa2730ff2b9d (diff) |
beautify
Diffstat (limited to 'phrase-extract')
-rw-r--r-- | phrase-extract/relax-parse-main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phrase-extract/relax-parse-main.cpp b/phrase-extract/relax-parse-main.cpp index a58d4d97f..d3cb4c527 100644 --- a/phrase-extract/relax-parse-main.cpp +++ b/phrase-extract/relax-parse-main.cpp @@ -137,7 +137,7 @@ void LeftBinarize( SyntaxTree &tree, ParentNodes &parents ) const SplitPoints &point = *p; if (point.size() > 3) { const vector< SyntaxNode* >& topNodes - = tree.GetNodes( point[0], point[point.size()-1]-1); + = tree.GetNodes( point[0], point[point.size()-1]-1); string topLabel = topNodes[0]->GetLabel(); for(size_t i=2; i<point.size()-1; i++) { @@ -155,7 +155,7 @@ void RightBinarize( SyntaxTree &tree, ParentNodes &parents ) if (point.size() > 3) { int endPoint = point[point.size()-1]-1; const vector< SyntaxNode* >& topNodes - = tree.GetNodes( point[0], endPoint); + = tree.GetNodes( point[0], endPoint); string topLabel = topNodes[0]->GetLabel(); for(size_t i=1; i<point.size()-2; i++) { |