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

github.com/moses-smt/mgiza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-13Merge pull request #24 from zuny26/install-destinationHEADmasterHieu Hoang
Allow to customize runtime and library destination of install command
2021-05-12allow to customize runtime and library destination of installationelsa
2019-01-30Merge pull request #19 from mespla/masterHieu Hoang
Avoid linking static libraries to make it easier to compile on anaconda
2019-01-30Merge pull request #17 from searchivarius/masterHieu Hoang
Removing unused library -rt
2019-01-30Avoid linking static libraries to make it easier to compile on anacondamespla
2018-12-24Removing unused library -rtLeonid Boytsov
2018-11-27put scripts and bin in 1 placeHieu Hoang
2017-01-18Merge pull request #13 from bricksdont/masterHieu Hoang
fix confusing typo in error message
2017-01-16fix confusing typo in error messageMathias Müller
2016-11-22Merge pull request #12 from moses-smt/alvations-patch-typoHieu Hoang
Typo in warning
2016-11-22Typo in warningalvations
2016-11-22Typo in warningalvations
2016-11-22Typo in warningalvations
2016-11-22Typo in warningalvations
2016-04-08Fix merge_alignment.py encoding issue with Python 3David Madl
Fixes the following problem when using Python 3: Traceback (most recent call last): File "/fs/lofn0/dmadl/software/mgiza/mgizapp/bin/merge_alignment.py", line 118, in <module> main() File "/fs/lofn0/dmadl/software/mgiza/mgizapp/bin/merge_alignment.py", line 92, in main "%s%s%s" % (sents[i][0], sents[i][1], sents[i][2])) UnicodeEncodeError: 'ascii' codec can't encode character '\xdf' in position 213: ordinal not in range(128) see http://stackoverflow.com/questions/4374455/how-to-set-sys-stdout-encoding-in-python-3
2016-03-22Fix array overrun.Jeroen Vermeulen
Looks like MYOptimization was added as an afterthought but never fully implemented. An array was created to cover all optimization classes except this one, and then the entry for MYOptimization was initialized beyond the end. Since all other code appeared to ignore the entry anyway, I simply removed the poisonous initialization.
2016-03-22Fix some warnings.Jeroen Vermeulen
2016-01-20Merge pull request #7 from mrihtar/masterHieu Hoang
Fix for getenv("USER") if not defined
2016-01-20Fix for getenv("USER") if not definedMatjaz Rihtar
2015-09-22compiles on gcc 4.4.7 (Redhat 6.2)Hieu Hoang
2015-09-21Merge pull request #6 from urikz/masterKenneth Heafield
Explicitly specify arguments' types of string::insert calls in model1
2015-09-21explicitly specify arguments' types of string::insert calls in model1Yury Zemlyanskiy
2015-07-26Deal with random numbers outside target interval.Jeroen Vermeulen
The zufall() ("coincidence," "random chance") function gets a random double in the half-open interval [0, 1), and scales it to fall in the half-open interval [min, max). It asserts that the result is in that interval. But rounding can throw an occasional spanner in the works, and produce e.g. a value that's equal to max. When that happens, just throw the dice again.
2015-05-29Add licensing notes.Jeroen Vermeulen
Each source file really ought to have some reference to the license. However I see no practical reason to displace all useful information from that precious bit of space at the top of each file with lots of legalese. So let's keep it short.
2015-05-26Check getcwd() for failure.Jeroen Vermeulen
Silences a compile warning.
2015-05-26Don't use “final” as an identifier: it's reserved.Jeroen Vermeulen
This word is a C++ keyword as of C++14, so avoid using it. Also updating some C-style use of “bool”.
2015-05-25Make merge_alignment.py fail on missing entry.Jeroen Vermeulen
Also, clean up lint.
2015-05-25Normalize paths.Jeroen Vermeulen
This fixes differences between Unix and Windows paths, and makes references to the user's home directory more portable.
2015-05-25Unify int-to-string conversion.Jeroen Vermeulen
The codebase was full of repeated patterns for: 1. Representing a nonnegative number as a string. 2. Representing a small nonnegative number as a digit. 3. Functions for representing numbers as string, mostly unused. This replaces all of them with a single new inline function. In the case where the output was meant to be one digit, there were cases where actually the number could overflow, resulting in weird characters. In particular, these could cause crashes on Windows machines with more than 10 CPU cores. You'd get a filename with ':' in it, which doesn't work. Such cases are replaced with zero-padded three-digit strings, to keep sort orders sane.
2015-05-16Adding some common file types to the ignore list.Jeroen Vermeulen
2015-05-16Adding .gitignore file.Jeroen Vermeulen
CMake produces a lot of artefacts that we shouldn't have to care about. Leaving one kind of artefact in place: files named "-MT". We need to fix the Makefiles so they don't produce this. It's a wrong compiler option, seemingly passed in a broken attempt to produce dependency files.
2015-05-16Reformat source code.Jeroen Vermeulen
Done using moses-smt's scripts/other/beautify.py (which uses astyle 2.01 with the k&r style).
2015-05-16Create .beautify-ignore file.Jeroen Vermeulen
This will let us run mosesmt's scripts/other/beautify.py on this directory as well.
2015-05-14Fix warnings.Jeroen Vermeulen
2015-04-29Convert filesystem path separators.Jeroen Vermeulen
Patch from Tom Hoar. Replace slashes and backslashes with whatever the system's native path separator is. Aids cross-platform usability.
2015-04-29Fix warnings.Jeroen Vermeulen
These are by no means all, just a bunch that were easy to fix. Warnings are useful, but only if there are few of them!
2015-04-29Update C++ style for including C headers.Jeroen Vermeulen
This replaces "#include <limits.h>" with "#include <climits>", and so on. Not a high-value change, but if it makes the code feel more modern and more pleasant to work with, it'll pay off in the long run.
2015-04-29Don't use ctime_s(); it's only there in C++11.Jeroen Vermeulen
In fact on Linux I'm not seeing this function at all. But plain old ctime() compiles just as well on both Linux and Windows.
2015-04-29Use slashes in include paths, even on Windows.Jeroen Vermeulen
This is the standard path separator for #include. Windows compilers will accept slashes, but non-Windows compilers generally won't accept backslashes. (The platform on which the compiler runs is not necessarily the same as the platform for which code is being compiled.)
2015-04-24MinGW has struct timespec.Jeroen Vermeulen
I hope this is the right way to #define HAVE_STRUCT_TIMESPEC. It got things building on MinGW for me.
2015-04-24Add 'typename' keyword in Windows code.Jeroen Vermeulen
Current versions of C++ require the "typename" keyword when referring to types dependent on template parameters. But these two instances were hidden in Windows code where they didn't get noticed.
2015-04-01allow compilation when only dynamic boost libraries are present. And default ↵Hieu Hoang
compiler (cc/c++) should not be used, must use gcc/g++ instead. Compiles at NYUAD
2015-02-16don't choke if UNK is in vocabularyRico Sennrich
2015-02-16consistent importRico Sennrich
2015-01-21use Hieu's compile flags in cmakeRELEASE-3.0Rico Sennrich
2015-01-21optimize compilingHieu Hoang
2015-01-19optimize compilingHieu Hoang
2014-11-29Merge pull request #3 from pgoel92/workPRE_CPP11Hieu Hoang
Install file updated with boost instructions for mac users
2014-11-29Install file updated with boost instructions for mac usersPrateek
2014-11-17Merge branch 'master' of github.com:moses-smt/mgizaHieu Hoang