Commit Graph

9222 Commits

Author SHA1 Message Date
Kenneth Heafield
de5276630b Restore kenlm max order 2012-10-19 10:00:01 +01:00
Kenneth Heafield
5ed7513e0d D'oh correct return value for existing entries 2012-10-18 16:41:44 -04:00
Kenneth Heafield
36373bfd5b Remove uncalled function 2012-10-18 19:07:55 +01:00
Kenneth Heafield
39664ac8f4 Support arbitrary arity
Also, some windows fixes in util.
2012-10-18 18:54:38 +01:00
Kenneth Heafield
05e91def21 Change VertexGenerator to batch, Remove kScoreInf 2012-10-18 16:49:54 +01:00
Kenneth Heafield
bedc7136b8 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-10-18 11:36:04 -04:00
Kenneth Heafield
8e23e441c3 Fix virtual destructors 2012-10-18 11:35:42 -04:00
Hieu Hoang
fb040861f7 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-10-18 16:20:02 +01:00
Hieu Hoang
ee47e53065 new weight vector in fuzzy match rule table 2012-10-18 16:19:47 +01:00
Hieu Hoang
c3229460a3 eclipse 2012-10-18 16:19:06 +01:00
Rico Sennrich
9e03090ca2 fix regression from having all 3 counts in phrase table. 2012-10-18 16:09:38 +02:00
Hieu Hoang
5bb498c922 eclipse project 2012-10-18 12:24:03 +01:00
phikoehn
0dda804c46 sparse feature fixes 2012-10-18 03:09:49 +01:00
phikoehn
7d66a4f8d5 superminortiny fix 2012-10-18 02:52:30 +01:00
phikoehn
98dafc0301 Merge branch 'master' of git://github.com/moses-smt/mosesdecoder 2012-10-18 02:20:45 +01:00
phikoehn
f19d53dac9 minor fixes 2012-10-18 02:20:38 +01:00
Barry Haddow
de7484be45 Fix location of decoder for cruise control 2012-10-17 22:25:20 +01:00
Barry Haddow
2e1049aee0 fix order in show-weights 2012-10-17 22:16:47 +01:00
Kenneth Heafield
30c3175d14 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-10-17 16:57:39 +01:00
Kenneth Heafield
3ced55e33d Put note into PartialEdge, delete edge_queue
Before with pop 25:
real    9m49.480s
user    9m38.389s
sys     0m10.354s

After with pop 25:
real    8m46.553s
user    8m35.138s
sys     0m10.654s
2012-10-17 16:49:41 +01:00
Hieu Hoang
b5849a01c5 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-10-17 16:40:50 +01:00
Hieu Hoang
9f12beb881 eclipse project 2012-10-17 16:40:23 +01:00
Kenneth Heafield
f4116ec6f5 Add usage message for OnDiskPt 2012-10-17 14:45:58 +01:00
Kenneth Heafield
03f602e4d4 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-10-17 08:51:33 -04:00
Kenneth Heafield
8f4305e12f Allocate less, switch to existing being continuation 2012-10-17 08:50:08 -04:00
Kenneth Heafield
dd662e9b58 Heap->Stack variable 2012-10-17 12:35:28 +01:00
Kenneth Heafield
4cf1ffb7d8 Simplify SetRuleCount 2012-10-17 11:48:30 +01:00
Barry Haddow
ed9d8c4992 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-10-17 11:22:40 +01:00
Barry Haddow
a642705ed3 rule count for glue rule 2012-10-17 11:22:09 +01:00
Barry Haddow
befe18351f OnDisk phrase table is not thread-safe!
And declaring it to be so does not make it so.

Also, ensure that the phrase dictionary is loaded before
it is used.
2012-10-17 11:18:38 +01:00
Kenneth Heafield
9f232895f3 More loading optimization
Cleanup Phrase substr, optimistic single-threaded FactorCollection lookup

Before:
user    242.228
sys     4.890
VmPeak: 17294456 kB
VmRSS:  17235148 kB

After:
user    215.322
sys     5.029
VmPeak: 17294544 kB
VmRSS:  17235304 kB
2012-10-17 11:07:42 +01:00
Kenneth Heafield
8ebaf44ae8 tmpnam is evil 2012-10-17 10:06:38 +01:00
Kenneth Heafield
63dda2a79d Merge remote branch 'upstream/master' 2012-10-16 18:21:07 -04:00
Kenneth Heafield
0340026ca2 Got tired of loading time. Again.
After miramerge went in:
real    6m8.948s
user    5m57.609s
sys     0m10.823s

Now:
real    4m27.469s
user    4m16.311s
sys     0m10.605s
2012-10-16 18:18:57 -04:00
Hieu Hoang
13249c54e5 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-10-16 19:01:10 +01:00
Hieu Hoang
bd9f4c282e explicit operator= . Required for gcc 4.6.3 but not 4.5.0 2012-10-16 19:00:41 +01:00
Kenneth Heafield
43fcd44a1d Merge remote branch 'upstream/master' 2012-10-16 12:59:18 -04:00
Kenneth Heafield
b9d228b281 Fix compiler errors for more strict compilers 2012-10-16 12:58:38 -04:00
Hieu Hoang
275dca4be1 explicit operator= . Required for gcc 4.6.3 but not 4.5.0 2012-10-16 17:50:00 +01:00
Kenneth Heafield
96bc9d05dc Move pool to util 2012-10-16 17:35:27 +01:00
Kenneth Heafield
f9f5b4eb0a Merge remote branch 'upstream/master' 2012-10-16 17:23:17 +01:00
Kenneth Heafield
3cc4d04959 Fix score should have been += 2012-10-16 17:18:56 +01:00
Hieu Hoang
f0714bb1bc minor compile error 2012-10-16 16:57:06 +01:00
Hieu Hoang
e208c997d9 same version number check when reading and writing 2012-10-16 16:29:33 +01:00
Hieu Hoang
a6f63af172 same version number check when reading and writing 2012-10-16 16:26:31 +01:00
Barry Haddow
84f616fe63 Increase version number to 5 2012-10-16 16:20:56 +01:00
Barry Haddow
ceb7de4036 Merge remote branch 'origin/miramerge' 2012-10-16 15:50:25 +01:00
Barry Haddow
b4a77c7654 Merge remote branch 'origin/miramerge' 2012-10-16 15:42:57 +01:00
Barry Haddow
42d74f2306 Fix regression test 2012-10-16 15:23:26 +01:00
Kenneth Heafield
0378a58a37 Start arbitrary arity. Currently incorrect. 2012-10-16 12:57:18 +01:00