diff options
author | nicolabertoldi <nicolabertoldi@1f5c12ca-751b-0410-a591-d2e778427230> | 2008-05-15 12:35:56 +0400 |
---|---|---|
committer | nicolabertoldi <nicolabertoldi@1f5c12ca-751b-0410-a591-d2e778427230> | 2008-05-15 12:35:56 +0400 |
commit | 2ef6f3e2d86ec160ecec505f69c46a2d08c3ee40 (patch) | |
tree | 901c973a91521a934e925fe05a75e5eace80dc0a /mert/FeatureStats.cpp | |
parent | 1f84c9eab7189380d5bdb1756905e88b44e72259 (diff) |
main command for managing feature and error statistics is ready; small example fortesting is available in directory example
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1692 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'mert/FeatureStats.cpp')
-rw-r--r-- | mert/FeatureStats.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mert/FeatureStats.cpp b/mert/FeatureStats.cpp index e3221e87d..d042e56e7 100644 --- a/mert/FeatureStats.cpp +++ b/mert/FeatureStats.cpp @@ -75,10 +75,8 @@ void FeatureStats::savetxt(const std::string &file) void FeatureStats::savetxt(std::ofstream& outFile) { - - outFile << array_.at(0); vector<FeatureStatsType>::iterator i = array_.begin(); - outFile << " " << *i; + outFile << *i; i++; while (i !=array_.end()){ outFile << " " << *i; |