mosesdecoder/moses/TranslationModel/CompactPT
Jeroen Vermeulen 1e3e445e3f Use cross-platform mmap() wrapper in CompactPT.
The MmapAllocator header made use of sys/mman.h and mmap(), which are
Unix-specific.  But util has a wrapper which also works on Windows.

This also fixes the error handling: when mmap() failed, the old code would
return an invalid (but non-NULL!) pointer — leading to a crash.  The wrapper
will throw an exception with a helpful error message.
2015-04-17 18:53:46 +07:00
..
BlockHashIndex.cpp beautify 2014-01-15 16:49:57 +01:00
BlockHashIndex.h Modernize "C" includes in moses. 2015-03-28 20:09:03 +07:00
CanonicalHuffman.h Thread-safety and constness 2015-01-18 23:58:28 +01:00
CmphStringVectorAdapter.cpp beautify 2013-05-29 18:16:15 +01:00
CmphStringVectorAdapter.h beautify 2013-05-29 18:16:15 +01:00
ConsistentPhrases.h beautify 2013-05-29 18:16:15 +01:00
Jamfile don't compile compact pt if --with-cmph not specified 2013-10-31 13:16:20 +00:00
LexicalReorderingTableCompact.cpp beautify 2015-02-19 12:27:23 +00:00
LexicalReorderingTableCompact.h beautify 2015-02-19 12:27:23 +00:00
LexicalReorderingTableCreator.cpp Add missing chck for empty range while flushing 2015-01-22 22:18:19 +01:00
LexicalReorderingTableCreator.h beautify 2013-05-29 18:16:15 +01:00
ListCoders.h Added new VW feature and execption to Simple9 2015-01-18 23:26:32 +01:00
MmapAllocator.h Use cross-platform mmap() wrapper in CompactPT. 2015-04-17 18:53:46 +07:00
MonotonicVector.h beautify 2013-05-29 18:16:15 +01:00
MurmurHash3.cpp Modernize "C" includes in moses. 2015-03-28 20:09:03 +07:00
MurmurHash3.h move CompactPt to TranslationModel/ 2012-11-27 18:04:01 +00:00
PackedArray.h beautify 2013-05-29 18:16:15 +01:00
PhraseDecoder.cpp use astyle 2.01. It's on Edinburgh server and doesn't screw up enum 2015-01-14 19:21:11 +00:00
PhraseDecoder.h delete UserMessage. Too difficult to police 2015-01-07 10:01:10 +04:00
PhraseDictionaryCompact.cpp Using boost for prefix/suffix checks /Jeroen Vermeulen 2015-02-06 15:52:25 +00:00
PhraseDictionaryCompact.h moses_chart: more efficient scope-3 parsing if sentence length < max-chart-span 2014-03-14 08:49:09 +00:00
PhraseTableCreator.cpp Add missing chck for empty range while flushing 2015-01-22 22:18:19 +01:00
PhraseTableCreator.h Work-around for temporary translation option collection size during phrase table binarization 2015-01-19 23:15:08 +01:00
StringVector.h compiles with clang on osx 2014-08-25 18:07:42 +01:00
StringVectorTemp.h Work-around for temporary translation option collection size during phrase table binarization 2015-01-19 23:15:08 +01:00
TargetPhraseCollectionCache.h make good use of the new precise timer... 2014-01-03 18:45:31 +00:00
ThrowingFwrite.cpp UTIL_THROW_IF -> UTIL_THROW_IF2 2013-11-22 20:27:46 +00:00
ThrowingFwrite.h beautify 2013-05-29 18:16:15 +01:00