Commit Graph

108 Commits

Author SHA1 Message Date
Hieu Hoang
58a73676d8 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-11-14 18:04:14 +00:00
Hieu Hoang
0b1bb6a443 mert compiles under Mac OSX Mavericks. #ifdef PreProcessFilter.cpp and accomplices 2013-11-14 17:58:59 +00:00
Hieu Hoang
c226e35c5e typo 2013-11-14 17:26:27 +00:00
Hieu Hoang
bbb6f0b145 tested DALM 2013-11-14 16:05:27 +00:00
Hieu Hoang
5dc13dbe91 bjam with dalm 2013-11-14 14:37:23 +00:00
Hieu Hoang
ca1c62c652 eclipse 2013-11-11 23:17:56 +00:00
Hieu Hoang
d2868bda5d 1st stab @ evaluating LM with DALM 2013-11-11 19:49:00 +00:00
Hieu Hoang
42e22d4216 compiled DALM with bjam 2013-11-11 18:27:15 +00:00
Hieu Hoang
8c9c81a14e compiled DALM with eclipse. bjam problems still 2013-11-11 17:19:44 +00:00
Hieu Hoang
d5cde1d874 DALM load 2013-11-11 14:39:53 +00:00
Kenneth Heafield
fe01a02fcb Initialize variables... 2013-11-06 19:30:32 -08:00
Hieu Hoang
08d888382d add DALM. Just a skeleton so far 2013-11-05 14:37:56 +00:00
Hieu Hoang
88569e2e0a rand lm compiles 2013-11-04 20:09:15 +00:00
Hieu Hoang
a5f391e3f3 remove description argument from feature function constructor. Redundant 2013-10-29 18:59:53 +00:00
Hieu Hoang
518a766ed2 add NeuralLM 2013-10-28 23:34:50 +00:00
Hieu Hoang
37896ed854 add NeuralLM 2013-10-28 23:21:02 +00:00
Hieu Hoang
0af1df9f8b add NeuralLM 2013-10-28 22:11:37 +00:00
phikoehn
ecc30bcfe2 also report lm scores, and matched n-gram length (thanks Ken!) 2013-10-13 22:05:07 +01:00
phikoehn
30c8c294e0 ooops 2013-10-13 07:08:50 +01:00
phikoehn
8e23a3f2c1 more enriched trace 2013-10-13 06:59:05 +01:00
Hieu Hoang
72981abf20 defer BackwardTest 2013-10-01 13:57:47 +01:00
Hieu Hoang
5472311e5f defer BackwardTest 2013-09-30 17:39:09 +01:00
Hieu Hoang
31ce9b510e beautify 2013-09-27 09:35:24 +01:00
Hieu Hoang
deafd5922d skeleton PT 2013-09-25 16:57:01 +01:00
Hieu Hoang
cff36b6638 skeleton LM 2013-09-24 22:26:51 +01:00
Hieu Hoang
e6f53d83c2 get rid of some warnings 2013-09-22 18:24:32 +02:00
Hieu Hoang
5625d30a26 add target phrase to arguments for Evaluate() during application to sentence 2013-09-18 12:35:31 +02:00
Hieu Hoang
03fd06b38b convert Evaluate() methods into abstract, rather than empty functions. Every FF must implement them all 2013-08-30 15:49:00 +01:00
Lane Schwartz
c0fe9bb4ea Updating XCode project 2013-08-29 12:56:25 -04:00
Lane Schwartz
7675825eb7 Merge branch 'master' of www:/repos/git/Decoders/mosesdecoder 2013-08-28 13:27:12 -04:00
Lane Schwartz
8a726a9de4 Changes to allow SRILM on Mac OS X.
By default, SRILM defines a function called zopen.

However, on Mac OS X (and possibly other BSDs),
<stdio.h> already defines a zopen function.

To resolve this conflict, SRILM checks to see if HAVE_ZOPEN is defined.
If it is, SRILM will rename its zopen function as my_zopen.

So, before importing any SRILM headers,
it is important to define HAVE_ZOPEN if we are on an Apple OS.
2013-08-28 12:39:47 -04:00
Hieu Hoang
d79d97c0e6 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-08-28 11:06:44 +01:00
Hieu Hoang
1848946cb3 beautify 2013-08-28 11:06:27 +01:00
Hieu Hoang
89f88fdb6b refactor parsing of args for language models 2013-08-28 11:05:47 +01:00
Lane Schwartz
08225d8e57 Re-enable backward LM code.
This commit updates that code to take into account Hieu's major refactoring.

Additionally, this commit re-instates changes from
commit 8459a86 (moses/LM/Jamfile, moses/LM/Ken.h, moses/LM/Ken.cpp),
commit d340218 (moses/LM/Ken.h),
commit 95e3a37 (moses/LM/Ken.h, moses/LM/Ken.cpp), and
commit aacc936 (moses/LM/Jamfile, moses/LM/Ken.cpp)

The above changes appear to have been improperly discarded
during the merge in commit 4894df6 and then again in commit 3ed17bb.
2013-08-27 15:55:07 -04:00
Hieu Hoang
e2c2bc59f1 beautify 2013-07-25 15:23:05 +01:00
Hieu Hoang
206b165d14 randlm compile with refactored code. No regression tests yet 2013-07-23 12:56:35 +01:00
Hieu Hoang
5b7a9af588 refactor RandLM. Compiles with eclipse but not with bjam 2013-07-20 00:19:04 +01:00
Kenneth Heafield
e1a2b2f0c9 Reduce scope of lm dependency 2013-07-19 18:50:12 +01:00
Kenneth Heafield
b5e6b9c959 Factory 2013-07-18 22:54:52 +01:00
Hieu Hoang
f35750bc08 beautify 2013-07-04 20:19:51 +01:00
Nadir Durrani
6a915253e1 Bug Fix 2013-07-01 11:06:55 +01:00
Hieu Hoang
abe6bb7c22 refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
Hieu Hoang
7f1a6041ba explicitly declare how many scores there are in language model features 2013-06-04 21:49:37 +01:00
Hieu Hoang
21ff6d4831 beautify 2013-06-03 12:33:18 +01:00
Hieu Hoang
695617d930 consistent Load() for all feature functions. Can be used not to load if doing --show-weights 2013-05-31 20:50:13 +01:00
Hieu Hoang
eaf53769ad consistent Load() for all feature functions. Can be used not to load if doing --show-weights 2013-05-31 20:21:02 +01:00
Hieu Hoang
bc0fdfbd79 delete LM:Useable(). Superseded by IsUseable() for all feature functions 2013-05-31 00:11:38 +01:00
Hieu Hoang
83c4477841 figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 12:41:08 +01:00
Hieu Hoang
6249432407 beautify 2013-05-29 18:16:15 +01:00