Commit Graph

2715 Commits

Author SHA1 Message Date
Tetsuo Kiso
1ec58e7edf Fix constructors and initializing const members. 2011-11-12 10:28:08 +09:00
Tetsuo Kiso
d776281b8b Simple refactoring of BLEU scorer. 2011-11-12 10:21:08 +09:00
Tetsuo Kiso
43beb88df5 Fix constructors of scorer classes and optimizer classes.
Using public const members is not good idea.
It should be initialized in private by constructors.
2011-11-12 10:16:31 +09:00
Tetsuo Kiso
fdb83b0f6d Put constructor and destructor into private for Factory class 2011-11-12 09:56:21 +09:00
Tetsuo Kiso
dfb714296f Add 'explicit' for constructors with one argument. 2011-11-12 09:51:27 +09:00
Tetsuo Kiso
ce9a628ed0 Remove unnecessary semicolons used in end of member functions. 2011-11-12 09:40:01 +09:00
Tetsuo Kiso
664ffe0130 Fix indentation. 2011-11-12 09:24:19 +09:00
Tetsuo Kiso
0fc56ae869 Add a comment to mark the end of #define guard. 2011-11-12 09:16:05 +09:00
Tetsuo Kiso
68315d6407 Fix class, function, and implementation comments format.
Functions comments should be placed in their declarations.
2011-11-12 08:58:23 +09:00
Tetsuo Kiso
4f6d022fe7 Add comments to mark the end of #define guards. 2011-11-12 07:59:50 +09:00
Hieu Hoang
953f2200ff visual studio 2011-11-11 22:39:27 +00:00
Hieu Hoang
d97cf2d9a5 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2011-11-11 22:25:54 +00:00
Hieu Hoang
87500bc93d visual studio 2011-11-11 22:24:25 +00:00
Hieu Hoang
7da1af411c xcode build 2011-11-11 20:55:55 +07:00
Tetsuo Kiso
888c47d921 Fix splitting strings from a string. 2011-11-11 22:00:30 +09:00
Tetsuo Kiso
c2121695c2 Fix memory leaks in mert. 2011-11-11 20:40:59 +09:00
Kenneth Heafield
1e6557e0c3 Windows fix: _O_BINARY 2011-11-11 11:08:55 +00:00
Tetsuo Kiso
85d39d7d42 Merge branch 'master' of https://github.com/tetsuok/mosesdecoder 2011-11-11 20:03:09 +09:00
Tetsuo Kiso
087756b8c3 Fix memory leaks in extractor. 2011-11-11 20:02:26 +09:00
Tetsuo Kiso
baca1221ab Fixed memory leaks. 2011-11-11 19:11:10 +09:00
Tetsuo Kiso
c5c128f263 Add retrieving the number of cores on Mac OS X. 2011-11-11 17:47:07 +09:00
Kenneth Heafield
0d8ec8bbd2 License note 2011-11-10 20:50:03 +00:00
Kenneth Heafield
d732f63ec2 KenLM update including progress on ARM and MinGW from NICT 2011-11-10 20:46:59 +00:00
Phil Williams
9903a239ea Assume HAVE_BOOST 2011-11-08 15:43:58 +00:00
Phil Williams
e70cafa1d7 The current version of BitPar's German grammar is encoded using UTF-8, so
disable the conversion to and from ISO-8859-1 in the parse-de-bitpar.perl
wrapper script.  For compatibility with older versions of BitPar, the old
behaviour is available using the --old-bitpar command-line option.
2011-11-08 15:05:02 +00:00
Phil Williams
abfa7a4ccc Add more files to .gitignore 2011-11-08 14:50:35 +00:00
Phil Williams
aa46d2eca0 moses_chart: speed up n-best list generation by deferring creation of
ChartTrellisPath objects until a detour is selected.  The output
should be unchanged except in the case of ties and rounding differences
in score calculations.

This doesn't make much difference at n = 100 but helps for larger lists:
example real times for decoding the first 100 sentences of the
new-test2008 tuning set with four threads:

  n            before       after
  1         4m32.955s   4m28.584s
  100       4m42.375s   4m36.311s
  1500     13m17.681s   4m34.807s

And with the 'distinct' option:

               before       after
  1         4m36.656s   4m32.883s
  100      11m04.236s   4m35.221s
  1500    129m21.593s   5m06.320s
2011-11-08 11:28:02 +00:00
Ondrej Bojar
864001b910 allow up to 400 words per sentence 2011-11-07 22:40:16 +01:00
Kenneth Heafield
1c4be5675c Lines are better when they end 2011-11-07 17:08:19 +00:00
Hieu Hoang
ae5e39fa86 delete premature lattice for scfg 2011-11-07 20:45:05 +07:00
Hieu Hoang
e0016712be Merge github.com:hieuhoang/mosesdecoder 2011-11-07 20:23:52 +07:00
Hieu Hoang
dbba840e10 Merge github.com:moses-smt/mosesdecoder 2011-11-07 20:18:47 +07:00
Hieu Hoang
0548a0ec3c load hiero format for reading suffix arrays 2011-11-06 20:55:57 +07:00
Hieu Hoang
24f7065826 load hiero format for reading suffix arrays 2011-11-06 20:46:46 +07:00
Hieu Hoang
bb2385657e load hiero format for reading suffix arrays 2011-11-06 16:08:37 +07:00
Hieu Hoang
86b9bf8bed load hiero format for reading suffix arrays 2011-11-06 15:35:05 +07:00
Hieu Hoang
311b5a6244 load hiero format for reading suffix arrays 2011-11-06 15:31:11 +07:00
Hieu Hoang
a257803610 load hiero format for reading suffix arrays 2011-11-05 01:06:31 +07:00
Hieu Hoang
1afbc7a5ee load hiero format for reading suffix arrays 2011-11-05 00:20:12 +07:00
Hieu Hoang
9b9ca34302 load hiero format for reading suffix arrays 2011-11-04 22:43:42 +07:00
Kenneth Heafield
0e9a172c1e Bugfix trie when 5-grams and 4-grams appear but 3-gram is blank 2011-11-03 19:51:54 +00:00
Kenneth Heafield
1c72f79698 More informative error message about <s> errors 2011-11-01 10:24:40 +00:00
Kenneth Heafield
314313ad89 Report null context estimates to correct score breakdown 2011-10-30 17:56:42 +00:00
Hieu Hoang
df949b87de lattice for scfg decoding 2011-10-30 19:34:36 +07:00
Hieu Hoang
b6b697c545 xcode 2011-10-30 19:17:15 +07:00
Hieu Hoang
fdd6c9795d xcode 2011-10-30 18:54:40 +07:00
Hieu Hoang
aac12ed58f xcode 2011-10-30 12:51:08 +07:00
Hieu Hoang
aff5978be4 Revert "xcode"
This reverts commit c6b333a832.
2011-10-30 12:37:51 +07:00
Hieu Hoang
c6b333a832 xcode 2011-10-29 20:00:45 +07:00
Hieu Hoang
42924144fd Merge branch 'master' of github.com:moses-smt/mosesdecoder 2011-10-28 19:13:14 +07:00