Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-04 | daily automatic beautifier | MosesAdmin | |
2015-05-21 | Mert programs won't link with shared linking without -lboost_filesystem. | Ulrich Germann | |
2015-05-20 | Fix some new compile problems. | Jeroen Vermeulen | |
* file_piece.cc used isnan() instead of std::isnan(). * Fdstream.h used close() but Windows doesn't have unistd.h. Fixed Fdstream.h by using util::scoped_fd. Thanks Ken. | |||
2015-05-19 | KenLM 7408730be415db9b650560a8b2bd3e4e3af49ec9. | Kenneth Heafield | |
unistd.hh is dead. | |||
2015-05-15 | beautify. | Hieu Hoang | |
2015-05-13 | format of output | Barry Haddow | |
2015-05-13 | move hg decoding test to reg tests | Barry Haddow | |
2015-05-13 | Refactoring of weight loading, making it easier to test hg rescoring. | Barry Haddow | |
2015-05-02 | beautify | Hieu Hoang | |
2015-05-01 | sentence-bleu less greedy regarding memory | Matthias Huck | |
Don't load all references, read them line by line. Corpora with millions of sentences can now be evaluated without consuming gigabytes of RAM. | |||
2015-04-30 | sentence-bleu-nbest | Matthias Huck | |
2015-04-30 | Remove trailing whitespace in C++ files. | Jeroen Vermeulen | |
2015-04-29 | Missing return value. | Ulrich Germann | |
2015-04-23 | Add cross-platform randomizer module. | Jeroen Vermeulen | |
The code uses two mechanisms for generating random numbers: srand()/rand(), which is not thread-safe, and srandom()/random(), which is POSIX-specific. Here I add a util/random.cc module that centralizes these calls, and unifies some common usage patterns. If the implementation is not good enough, we can now change it in a single place. To keep things simple, this uses the portable srand()/rand() but protects them with a lock to avoid concurrency problems. The hard part was to keep the regression tests passing: they rely on fixed sequences of random numbers, so a small code change could break them very thoroughly. Util::rand(), for wide types like size_t, calls std::rand() not once but twice. This behaviour was generalized into utils::wide_rand() and friends. | |||
2015-04-22 | Thread-safe, platform-agnostic randomizer. | Jeroen Vermeulen | |
Some places in mert use srandom()/random(), but these are POSIX-specific. The standard alternative, srand()/rand(), is not thread-safe. This module wraps srand()/rand() in mutexes (very short-lived, so should not cost much) so that it relies on just Boost and the C standard library, not on a Unix-like environment. This may reduce the width of the random numbers on some platforms: it goes from "long int" to just "int". If that is a problem, we may have to use Boost's randomizer utilities, or eventually, the C++ ones. | |||
2015-04-22 | Adapt test to poor Windows timer resolution. | Jeroen Vermeulen | |
TimerTest fails on Windows unless the sleep time is set to at least a millisecond (1,000 microseconds). Keep it nice and low for other platforms though, because the sleep time is wasted. | |||
2015-04-17 | Testing of Viterbi decoding on hypergraph. | Barry Haddow | |
2015-04-10 | Delete unused code | Kenneth Heafield | |
2015-04-10 | Address two TODO notes in mert/evaluator.cpp. | Jeroen Vermeulen | |
The notes were about two objects which were created on the free store using "new", then cleaned up using "delete". May have been a Java habit; the solution was as simple as creating them on the stack. | |||
2015-04-10 | Portability and include fixes. | Jeroen Vermeulen | |
Add <cstdlib> include for srand()/rand(), and <unistd.h> for open() etc. Include <unistd.h> on Windows if using MinGW. Disable MeteorScorer on Windows, since it doesn't have fork() and pipe(). | |||
2015-04-03 | Attempt at fixing sparse features for hgmira | Barry Haddow | |
2015-03-29 | Fix some compile warnings (gcc 4.9.2). | Jeroen Vermeulen | |
Mostly signed/unsigned comparisons and reordered member initializations; also a few unused variables. There are more, but if I chip away at them for a while, who knows, it may catch on and warnings may eventually become socially stigmatizing. :) | |||
2015-03-28 | Modernize "C" includes in mert. | Jeroen Vermeulen | |
This is one of those little chores in managing a long-lived C++ project: standard C headers like stdio.h and math.h now have their own place in the C++ standard as resp. cstdio, cmath, and so on. In this branch the #include names are updated for the mert/ subdirectory; more branches to follow. C++11 adds cstdint, but to support compilation with the previous standard, that change is left for later. | |||
2015-03-21 | 1. Lifetime of tasks in ThreadPool is now managed via shared pointers. | Ulrich Germann | |
2. Code cleanup in IOWrapper and a bit elsewhere. | |||
2015-03-14 | Meteor compatibility with batch MIRA | mjdenkowski | |
2015-02-19 | beautify | Hieu Hoang | |
2015-02-16 | Change Namespace in TER library | Christophe SERVAN | |
2015-02-16 | Change Namespace in TER library | Christophe SERVAN | |
2015-02-16 | Memory leak correction in TER algorithm | Christophe SERVAN | |
2015-02-10 | Bug fix to commenting out unused variable. | Ulrich Germann | |
2015-02-10 | Bug fix to commenting out unused variable. | Ulrich Germann | |
2015-02-06 | Merge branch 'master' of https://github.com/moses-smt/mosesdecoder | Ulrich Germann | |
Conflicts: moses/TranslationOptionCollection.cpp moses/TranslationOptionCollectionLattice.cpp moses/TranslationOptionCollectionLattice.h moses/TranslationOptionList.h | |||
2015-02-06 | Commented out unused variable to reduce compiler warnings. | Ulrich Germann | |
2015-02-06 | Commented out unused variable to reduce compiler warnings. | Ulrich Germann | |
2015-02-06 | Commented out unused variable to reduce compiler warnings. | Ulrich Germann | |
2015-01-14 | use astyle 2.01. It's on Edinburgh server and doesn't screw up enum | Hieu Hoang | |
2015-01-14 | beautify | Hieu Hoang | |
2014-12-17 | fix crash in hypergraph mira for hiero | Barry Haddow | |
2014-12-13 | merged master into dynamic-models and solved conflicts | Nicola Bertoldi | |
2014-10-14 | Fix incorrect integer concatenation in error messages | Paul Guyot | |
2014-10-09 | Fix compile error if !(defined(__GLIBCXX__) || defined(__GLIBCPP__)) | Phil Williams | |
2014-09-30 | More streaming for kbmira | Michael Denkowski | |
2014-09-24 | explicitly set BLEU as default scorer (for return-best-dev) | Rico Sennrich | |
(evaluator doesn't accept --scconfig without --sctype) | |||
2014-09-22 | (optionally) use n-best file for evaluator/return-best-dev | Rico Sennrich | |
this adds support for metrics that rely on alignment / trees | |||
2014-09-22 | basic support for more metrics with kbmira | Rico Sennrich | |
metrics need getReferenceLength (for background smoothing) to work with kbmira | |||
2014-09-22 | calculateScore with float (for smoothing support) | Rico Sennrich | |
2014-09-22 | HWCM for MERT | Rico Sennrich | |
2014-09-08 | Merge branch 'master' of github.com:moses-smt/mosesdecoder | Barry Haddow | |
2014-08-29 | Bug fix about the TER calculation | Christophe SERVAN | |
2014-08-12 | Ignore # with in edge lists | Barry Haddow | |