Commit Graph

84 Commits

Author SHA1 Message Date
Hieu Hoang
d8daac9bb4 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-07-19 22:22:53 +01:00
Rico Sennrich
dd2cf70f3f tmcombine: fix combination of lexical reordering models 2012-07-19 10:31:46 +02:00
Hieu Hoang
9a51e283db Visual Studion project files. Submitted by a Windows developer. 2012-07-19 08:59:46 +01:00
U-Hieu-PC\Hieu
ceef0342cc visual studio build 2012-07-17 23:39:55 +01:00
Hieu Hoang
e31b4242e4 win32 build submitted by Windows developer. Includes small changes to order of hypothesis popping during cube pruning 2012-07-17 11:01:07 +01:00
Rico Sennrich
9dd42dd9b6 tmcombine: fix crash with option --recompute-lexweights 2012-07-16 13:26:39 +02:00
Hieu Hoang
0c68957c20 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-07-12 16:46:30 +01:00
Hieu Hoang
15b95cd042 use consistent alignment info for lexical probabilities for both forward and inverse scoring 2012-07-12 16:45:43 +01:00
Rico Sennrich
c9f2f73de3 sigtest-filter can now also filter lexical reordering tables.
didn't have a significant effect on performance in my tests, but it's nice to have smaller tables.
2012-07-12 16:04:23 +02:00
U-Hieu-PC\Hieu
cfc1a71670 take out threading from vs build 2012-07-11 11:34:14 +01:00
U-Hieu-PC\Hieu
c7059e5e0b visual studio compiles but doesn't link 2012-07-11 10:54:21 +01:00
Hieu Hoang
4a34d5241e Merge https://github.com/hieuhoang/mosesdecoder 2012-07-10 17:09:28 +01:00
Hieu Hoang
89fc1fee05 xcode 2012-07-10 16:17:11 +01:00
Hieu Hoang
5dd0afb07b debugging lr scrore 2012-07-10 16:15:36 +01:00
Hieu Hoang
f4ca039d3c xcode 2012-07-10 15:00:56 +01:00
Hieu Hoang
16965f3469 convert new[] to vector. In case of leaks due to exception handling 2012-07-10 10:23:00 +01:00
Hieu Hoang
f335047981 windows-compatible. Thanks to Mike Lagwig 2012-07-10 10:05:14 +01:00
Hieu Hoang
f40f6393f3 A web interface to Moses. Thanks to Liang Tian 2012-07-09 10:27:28 +01:00
Hieu Hoang
388f5a2046 remove gpl code 2012-07-07 14:41:00 +01:00
Hieu Hoang
1737df448a remove gpl code 2012-07-07 14:24:02 +01:00
Hieu Hoang
8d57651d0f move mert-moses-multi.pl 2012-07-06 12:58:06 +01:00
U-Hieu-PC\Hieu
addb1f0645 Merge branch 'master' of https://github.com/hieuhoang/mosesdecoder 2012-07-05 18:30:57 +01:00
U-Hieu-PC\Hieu
81b916a963 visual studio project files 2012-07-05 18:30:06 +01:00
Hieu Hoang
1088bdcb86 more comments 2012-07-03 18:11:53 +01:00
Rico Sennrich
ea4d0a4785 fix encoding issue
Error that occurred for phrase tables without phrase alignment:

  File "tmcombine.py", line 377, in write_phrase_table
    line = b"%s ||| %s ||| %s 2.718 %s||| %s ||| %s\n" %(src,target,features,origin_features,alignment,comments)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 26: ordinal not in range(128)  File "tmcombine.py", line 377, in write_phrase_table
2012-07-01 20:48:12 +02:00
Hieu Hoang
647e320629 commented all classes in OnDiskPt and moses-chart-cmd. Leave ken's lm directory 2012-06-28 20:12:31 -04:00
Hieu Hoang
f2878bcdeb commented all classes in moses lib 2012-06-28 18:29:46 -04:00
Hieu Hoang
ed18b2191d comment classes A-M with doxygen-compatible comments. Lots of @todo 2012-06-26 19:45:02 -04:00
Hieu Hoang
a4f69bb187 xcode for threaded mert 2012-06-26 16:30:17 -04:00
Hieu Hoang
a91120c12a xcode for kbmira 2012-06-24 09:41:05 -04:00
Hieu Hoang
0cb63edcb9 merge Lexi Birch's LRScore from mert_mtm5 branch. Compiles and run. Hack, must double check with barry or lexi 2012-06-23 22:51:48 -04:00
Hieu Hoang
7d19fe13ae merge Lexi Birch's LRScore from mert_mtm5 branch 2012-06-22 18:19:16 +01:00
Hieu Hoang
db06d9cf65 xcode for mert exec 2012-06-21 22:36:36 +01:00
Hieu Hoang
9a99d31a5c Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-06-20 15:01:15 +01:00
Hieu Hoang
112b4c768d use FindBin() to get directory of moses exec. Get ini file from command line, not hardcoded 2012-06-20 14:20:29 +01:00
Rico Sennrich
e5bec4a48b minor fix for hierarchical sigtest filter
(rules that end with two nonterminals were all thrown out)
2012-06-16 08:38:43 +02:00
Hieu Hoang
e72670700a Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-06-15 22:49:22 +01:00
Rico Sennrich
3549464943 bugfix (hierarchical sigtest filter failed for two consecutive nonterminals) 2012-06-15 18:42:34 +02:00
Rico Sennrich
9a0426543b sigtest-filter for hierarchical rule tables
-h to enable:
split rules into terminal sequences, look up each in the suffix array,
and treat the intersection of the resulting sentence lists
as occurrences of the rule.

for a speedup, use unordered_set instead of set for SentIdSet
(requires GCC >= 4.3)
2012-06-15 10:23:52 +02:00
Hieu Hoang
137d351621 xcode 2012-06-13 15:56:53 +01:00
Rico Sennrich
fcf05e63c1 make translation model combination more general: allow non-default number and position of phrase table features 2012-05-31 14:23:38 +02:00
Hieu Hoang
45870348ff xcode build supports threads. move 'using namespace' out from .h file to stop namespace pollution 2012-05-30 12:47:20 +01:00
Hieu Hoang
2b20de8ea9 xcode build supports threads. Abort when using Adam's suffix arrays with threads 2012-05-30 09:49:43 +01:00
Hieu Hoang
ef26388aff eclipse project 2012-05-28 17:29:46 +01:00
Hieu Hoang
7d602aff2f Move queryOnDiskPt from contrib to OnDiskPt folder. Easier to amend Jam file 2012-05-25 13:41:54 +01:00
Hieu Hoang
8844be6f25 Move queryOnDiskPt from contrib to OnDiskPt folder. Easier to amend Jam file 2012-05-25 13:41:06 +01:00
Hieu Hoang
299451235c Add util for querying on-disk pt 2012-05-15 16:46:16 +01:00
Hieu Hoang
3f3401f9ba Add util for querying on-disk pt 2012-05-15 16:35:00 +01:00
Hieu Hoang
d25a2baa62 Add util for querying on-disk pt 2012-05-15 16:16:16 +01:00
Hieu Hoang
d924a709ea Add util for querying on-disk pt 2012-05-15 16:03:40 +01:00