summaryrefslogtreecommitdiff
path: root/mteval/external_scorer.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-06-10 16:20:17 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2011-06-10 16:20:17 -0400
commit9366fc1ce04385290722bd703933bf0c1c166671 (patch)
treeda26d11a2ea3d69b318f2099545e3ea189873c96 /mteval/external_scorer.h
parentc456e5b4470a244de811bf8c070532f8012f5731 (diff)
proper use of pipes
Diffstat (limited to 'mteval/external_scorer.h')
-rw-r--r--mteval/external_scorer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mteval/external_scorer.h b/mteval/external_scorer.h
index 59ece269..a28fb920 100644
--- a/mteval/external_scorer.h
+++ b/mteval/external_scorer.h
@@ -2,7 +2,6 @@
#define _EXTERNAL_SCORER_H_
#include <vector>
-#include <cstdio>
#include <string>
#include <map>
#include <boost/shared_ptr.hpp>
@@ -21,7 +20,8 @@ class ScoreServer {
private:
void RequestResponse(const std::string& request, std::string* response);
- FILE* pipe_;
+ int p2c[2];
+ int c2p[2];
};
struct ScoreServerManager {