Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lm/filter/vocab.cc')
-rw-r--r--lm/filter/vocab.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/lm/filter/vocab.cc b/lm/filter/vocab.cc
index 7ee4e84ba..7ed5d92fb 100644
--- a/lm/filter/vocab.cc
+++ b/lm/filter/vocab.cc
@@ -4,7 +4,10 @@
#include <iostream>
#include <ctype.h>
+
+#if !defined __MINGW32__
#include <err.h>
+#endif
namespace lm {
namespace vocab {
@@ -31,7 +34,7 @@ bool IsLineEnd(std::istream &in) {
}// namespace
// Read space separated words in enter separated lines. These lines can be
-// very long, so don't read an entire line at a time.
+// very long, so don't read an entire line at a time.
unsigned int ReadMultiple(std::istream &in, boost::unordered_map<std::string, std::vector<unsigned int> > &out) {
in.exceptions(std::istream::badbit);
unsigned int sentence = 0;