Barry Haddow
|
ba5633c7b5
|
Merge remote branch 'origin/master' into pro
Conflicts:
kenlm
mert/Data.cpp
mert/Data.h
mert/Makefile.am
mert/mert.cpp
|
2011-11-17 15:58:56 +00:00 |
|
Barry Haddow
|
71c777f01d
|
Remove old PRO. Fix running of PRO from mert script.
|
2011-11-16 17:43:54 +00:00 |
|
Barry Haddow
|
aeead91b54
|
Output to file. Remove debug.
|
2011-11-16 16:26:01 +00:00 |
|
Barry Haddow
|
79de3c8699
|
Complete initial version of pro extractor
|
2011-11-16 14:54:23 +00:00 |
|
Tetsuo Kiso
|
d7bd58c6f5
|
Resolved conflicts
|
2011-11-15 22:41:21 +09:00 |
|
Barry Haddow
|
0a2e0f44a6
|
Finish and test feature and score data iterators.
|
2011-11-15 13:12:14 +00:00 |
|
Tetsuo Kiso
|
1ba9a4e868
|
Add error checking for file existence.
|
2011-11-15 10:17:00 +09:00 |
|
Tetsuo Kiso
|
9b8cb6a6d4
|
Fix typo.
|
2011-11-15 10:15:09 +09:00 |
|
bhaddow
|
3a6c0e0680
|
iterate through feature file
|
2011-11-14 22:18:22 +00:00 |
|
bhaddow
|
4cf6e0320a
|
pro extraction mainline and stub of feature data iterator
|
2011-11-14 18:32:36 +00:00 |
|
bhaddow
|
cba190bee3
|
start new pro extractor
|
2011-11-14 16:21:16 +00:00 |
|
Barry Haddow
|
58268cc3dd
|
Test for pro
|
2011-11-14 16:03:56 +00:00 |
|
Tetsuo Kiso
|
b7dd5ecfce
|
Add shell script to run memcheck.
|
2011-11-14 20:17:58 +09:00 |
|
Tetsuo Kiso
|
284f37d09e
|
Add missed code
|
2011-11-14 20:06:10 +09:00 |
|
Tetsuo Kiso
|
2fde1cab0e
|
Add missing headers.
|
2011-11-14 19:52:21 +09:00 |
|
Tetsuo Kiso
|
29c16d252a
|
Minimize using #include headers in headers.
Should use it in .cpp files.
|
2011-11-14 15:15:30 +09:00 |
|
Tetsuo Kiso
|
be1506e759
|
Use passing objects by const references not passing by their values.
|
2011-11-14 14:00:47 +09:00 |
|
Tetsuo Kiso
|
0c7a38d9d2
|
Prohibit the client from calling some constructors without arguments.
The reason is to avoid the misuse of constructors that should be called
with arguments.
|
2011-11-14 12:58:42 +09:00 |
|
Tetsuo Kiso
|
20afe4babb
|
Fix uninitialized private members when constructors are called.
|
2011-11-14 12:53:20 +09:00 |
|
Tetsuo Kiso
|
625fe118e0
|
Fix bugs, private members were not initialized when the instances are created.
When the objects of Data and FeatureData classes are created,
the primitive private members were not initialized properly.
|
2011-11-14 12:20:04 +09:00 |
|
Tetsuo Kiso
|
8f0ba037f3
|
Add comments.
|
2011-11-13 21:13:44 +09:00 |
|
Tetsuo Kiso
|
3d70b2e1a5
|
Small change: modify initialization of the Data class.
|
2011-11-12 22:04:22 +09:00 |
|
Tetsuo Kiso
|
eecfb171da
|
Fix usage of whitespaces for Optimizers.
|
2011-11-12 18:47:31 +09:00 |
|
Tetsuo Kiso
|
6c845323ac
|
Fix the order of initialization when the constructor will be called.
|
2011-11-12 18:17:31 +09:00 |
|
Tetsuo Kiso
|
20e27aab92
|
Refactoring: constructors and copying objects.
|
2011-11-12 18:12:07 +09:00 |
|
Tetsuo Kiso
|
87a5c16b55
|
Replace macros with const variables and inline functions.
|
2011-11-12 17:30:33 +09:00 |
|
Tetsuo Kiso
|
ae9701ff77
|
Fix initialization of score_, and add destructor.
|
2011-11-12 16:50:18 +09:00 |
|
Tetsuo Kiso
|
df0874df89
|
Make Point::score a private by defining accessor/mutator.
|
2011-11-12 16:39:57 +09:00 |
|
Tetsuo Kiso
|
fdcd148cac
|
Replace macros with const char arrays used in XXXArray classes.
|
2011-11-12 12:13:35 +09:00 |
|
Tetsuo Kiso
|
03abf54d21
|
Add a utility function to make sure the filename with ".gz" extension.
|
2011-11-12 11:50:39 +09:00 |
|
Tetsuo Kiso
|
ee0345b9b6
|
Move filestream wrapper classes to FileStream.{h,cpp}
|
2011-11-12 11:44:39 +09:00 |
|
Tetsuo Kiso
|
8e7693076c
|
Add const to stream wrapper classes.
|
2011-11-12 11:35:20 +09:00 |
|
Tetsuo Kiso
|
fb3b0f9f62
|
Add const to Data and Feature class members.
|
2011-11-12 11:26:13 +09:00 |
|
Tetsuo Kiso
|
54b3b846c7
|
Add const member functions in Scorer classes.
|
2011-11-12 10:58:14 +09:00 |
|
Tetsuo Kiso
|
00b8c6d768
|
Use const Scorer::calculateScore().
|
2011-11-12 10:40:54 +09:00 |
|
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 |
|
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 |
|
Tetsuo Kiso
|
087756b8c3
|
Fix memory leaks in extractor.
|
2011-11-11 20:02:26 +09:00 |
|
Kenneth Heafield
|
1c4be5675c
|
Lines are better when they end
|
2011-11-07 17:08:19 +00:00 |
|
bhaddow
|
7c0d9c34da
|
Fix formatting of pro input file
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4360 1f5c12ca-751b-0410-a591-d2e778427230
|
2011-10-14 14:01:15 +00:00 |
|