Commit Graph

10918 Commits

Author SHA1 Message Date
Barry Haddow
1a8a8fbb2d Re-enable unit tests. They all pass. 2013-09-14 17:15:41 +01:00
Ulrich Germann
6ea0bb1f61 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-09-14 11:21:15 +01:00
Ulrich Germann
7fad9c39de Added known issues to the m4m README. 2013-09-14 11:21:00 +01:00
Phil Williams
cdd9df19d2 Remove --OutputNTLengths from extract-rules, etc.
The option isn't used in master and the output is compatible with the
current rule table format.  If anyone wants this in master it should
probably be fixed in the span-length branch then merged.
2013-09-13 22:16:42 +01:00
Hieu Hoang
3b03d803d9 make sure Evaluate(inputPath) is called for chart translation options 2013-09-13 09:27:48 +02:00
Hieu Hoang
9950279bc7 add pointer to input path to chart translation option 2013-09-12 19:50:09 +02:00
Kenneth Heafield
5e506ed914 Make dl have the same linkage as glibc 2013-09-12 09:27:01 +01:00
Hieu Hoang
b534e8c4b7 f*cking link error 2013-09-12 09:17:18 +01:00
Hieu Hoang
c36d8d048f ExternalFeature /cdec & phil blumson 2013-09-12 09:48:17 +02:00
Barry Haddow
ef43d6e038 Need phrase penalty weight 2013-09-11 10:59:48 +01:00
Barry Haddow
03997dfc3a Change number of weights in example 2013-09-11 10:41:17 +01:00
Hieu Hoang
f379e5cb8a lattice decoding with sparse features 2013-09-10 15:36:21 +02:00
Ulrich Germann
52bb3bdf5a Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-09-10 12:07:12 +01:00
Ulrich Germann
6592265548 Initial check-in. 2013-09-10 12:06:29 +01:00
Kenneth Heafield
5cca6fafcb KenLM 6f7913cc7ca0f7672c6d899358365f047a742bbb
Mostly fixes from Tetsuo Kiso and Jonathan Graehl
2013-09-09 10:43:20 +01:00
Hieu Hoang
4c015afb7e Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-09-08 22:50:38 +02:00
phikoehn
9f40416ee4 changed default for hierarchical phrase table binarization 2013-09-08 18:30:48 +01:00
Hieu Hoang
16cfc786a8 lattice decoding with sparse features 2013-09-08 19:22:55 +02:00
Hieu Hoang
42fc86b259 lattice decoding with sparse features 2013-09-08 17:02:59 +02:00
Hieu Hoang
7214be82d4 lattice decoding with sparse features 2013-09-08 16:43:18 +02:00
Hieu Hoang
1adf7d0521 lattice decoding with sparse features 2013-09-08 15:57:31 +02:00
Hieu Hoang
65e2806b1d move lattice scoring into InputFeature class 2013-09-08 13:47:32 +02:00
Rico Sennrich
b421f7c9b0 refactoring to minimize overhead from flexibility score code (if off) 2013-09-07 23:04:40 +02:00
Rico Sennrich
7138056b8f flexibility scores 2013-09-07 23:04:01 +02:00
Kenneth Heafield
b27d140619 Unfortunately UTrieNode wants a non-explicit copy constructor 2013-09-07 09:51:09 +01:00
Lane Schwartz
7e1cfc981f Merge branch 'master' of www:/repos/git/Decoders/mosesdecoder 2013-09-06 14:01:32 -04:00
Lane Schwartz
226031ecf6 Checking in examples of CMake files.
The example in contrib works, as does the one in biconcor.

The examples in lm and moses don't work at the moment,
but checking them in anyway as a starting point
for any potential work on them next week during the
MT Marathon.
2013-09-06 13:39:46 -04:00
Ulrich Germann
384650fb60 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-09-06 17:05:39 +01:00
Ulrich Germann
64cfd3ec16 Minor cosmetic changes. 2013-09-06 17:04:46 +01:00
Ulrich Germann
8154654e7c Added using namespace std; 2013-09-06 17:02:32 +01:00
Chris Dyer
41493e1a9e Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2013-09-06 10:40:21 -04:00
Chris Dyer
eb7afdaf4f fix for check plf 2013-09-06 10:40:10 -04:00
Barry Haddow
867c6efe6c Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-09-06 13:29:29 +01:00
Barry Haddow
7425036c3a scoring correction 2013-09-06 13:29:20 +01:00
Hieu Hoang
8ae1614be4 no change commit. Force rerun of cruise control 2013-09-06 08:53:17 +02:00
Chris Dyer
cd80fb6db8 fix to use current interface 2013-09-06 00:28:41 -04:00
Hieu Hoang
fbb2f9abb0 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-09-05 23:34:39 +02:00
Hieu Hoang
12c4a0a68e lattice decoding with sparse features 2013-09-05 23:34:22 +02:00
Hieu Hoang
6f81004e20 lattice decoding with sparse features 2013-09-05 22:26:19 +02:00
Hieu Hoang
8803bcdba6 lattice decoding with sparse features 2013-09-05 22:25:32 +02:00
Hieu Hoang
56c4a41231 lattice decoding with sparse features 2013-09-05 22:22:53 +02:00
Lane Schwartz
addc8be211 Merge branch 'master' of www:/repos/git/Decoders/mosesdecoder 2013-09-05 14:06:15 -04:00
Lane Schwartz
192bd8313c Adding more executables to XCode project 2013-09-05 14:06:09 -04:00
Hieu Hoang
cec177b493 no change commit. Force rerun of cruise control 2013-09-05 18:31:45 +01:00
Lane Schwartz
31203ec308 XCode can now compile biconcor 2013-09-03 11:10:37 -04:00
Lane Schwartz
3be2f54a51 XCode can now compile moses_chart 2013-09-03 11:05:16 -04:00
Lane Schwartz
f1e4d6eb04 XCode can now compile moses and lmbrgrid 2013-09-03 10:59:53 -04:00
Lane Schwartz
fd81ca799d XCode can now compile queryOnDiskPt
Also fixed some inconsistencies between
debug and release for some targets.
2013-09-03 10:37:20 -04:00
Lane Schwartz
21801e85e7 XCode project can now compile CreateOnDiskPt
If libmoses.a was compiled with LM_IRST,
then the following flags must be passed to the linker
when compiling CreateOnDiskPt:
-L $(XCODE_MOSES_LIBRARY_IRSTLM)
-lirstlm

If libmoses.a was compiled with LM_SRI,
then the following flags must be passed to the linker
when compiling CreateOnDiskPt:
-L $(XCODE_MOSES_LIBRARY_SRILM)
-ldstruct
-liconv
-lz
-lmisc
-loolm

Additionally, if libmoses.a was compiled with LM_SRI,
and SRILM was compiled with lbfgs,
then the following flags must be passed to the linker
when compiling CreateOnDiskPt:
-L $(XCODE_MOSES_LIBRARY_LBFGS)
-Xlinker -search_paths_first
-llbfgs

An note of explanation here may be warranted
with regard to the above lbfgs-related flags:
Mac OS X ships with a dynamic library that is loaded
with the flag -lz. SRILM compiles its own version of this
library. If SRILM is compiled statically, this becomes a problem.
We need XCode to link against the SRILM version of zlib,
but by default, the linker will search through all known library paths
for a dynamic version first. Only if no dynamic version is found will
it then search the library paths for a static version.
The fix for this problem is to use the -Xlinker flag to pass an additional
flag to the linker: -search_paths_first. This flag forces to linker to
iterate only once through each directory in its library path; within each
such directory it will first look for a dynamic version and
then, if necessary, for a static version. This solves the problem.
2013-09-03 10:23:26 -04:00
Hieu Hoang
9894941294 properties is on 7th column, not 6th 2013-09-03 15:02:53 +02:00