diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-08 23:52:14 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-08 23:52:14 +0400 |
commit | 310b26f9896bf75b1e7060223274f723189dcd72 (patch) | |
tree | 9b4c3719706a76e1a0c6f9e4f3a70beee7ef15cc /phrase-extract | |
parent | 3eba5782c2df7b03cf2dad99b52e0a97c0ca39e9 (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 d3cb4c527..a58d4d97f 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++) { |