Barry Haddow
2826ccc001
Boost version update, specify filesystem v3
...
Shout if it breaks your favourite platform!
2014-07-23 17:22:14 +01:00
Barry Haddow
5a45fc71eb
Some more debug
2014-07-22 09:24:23 +01:00
Barry Haddow
1d64bfc51e
Try to prevent double closure of files
2014-07-21 17:39:45 +01:00
Barry Haddow
bb0a0925b5
fd leak
2014-07-21 14:35:55 +01:00
Barry Haddow
efee2695c3
Merge 08811deb17337356cd8dae9c59c0160590679a35 from joshua
2014-07-21 11:04:43 +01:00
Hieu Hoang
ee03e0f0e3
meteor scorer requires FDStream. Only gcc
2014-04-03 23:35:04 +01:00
Kenneth Heafield
6bbf437ff7
Surround locks with WITH_THREADS
2014-03-17 07:08:25 -07:00
Michael Denkowski
bb201bbde8
Meteor scoring for Moses MERT
2014-03-06 16:07:01 -05:00
Hieu Hoang
b48f410bee
don't check object pointer before deleting /Markus Elfring
2014-02-26 10:43:37 +00:00
jiejiang
5f1217d793
merged upstream with origin for mingw
2014-01-15 18:16:56 +00:00
jiejiang
744376b3fb
moses windows build, with some TODO list
2013-12-18 20:15:39 +00:00
Hieu Hoang
cedc815c88
return default even if compiling with non-gcc
2013-11-25 16:38:19 +00:00
Hieu Hoang
905ab6de82
stop warning about incomplete data type
2013-11-25 16:24:51 +00:00
Hieu Hoang
d9be81596e
replace CHECK with UTIL_THROW_IF in mert
2013-11-18 18:13:10 +00:00
Hieu Hoang
d6d0877ea3
add comment for future work on making fdstream more portable /Jeroen Vermeulen
2013-11-15 11:56:00 +00:00
Hieu Hoang
17887a2796
replace nth_element() with macro that execute sort() instead for gcc 4.8.1 & 4.8.2
2013-11-15 10:55:38 +00:00
Hieu Hoang
3d37a8ffda
more compile errors, with clang
2013-11-14 19:30:45 +00:00
Hieu Hoang
862e1ad4ae
more gcc compile errors
2013-11-14 19:15:53 +00:00
Hieu Hoang
dfbad35abd
minor compile errors on gcc now
2013-11-14 18:59:36 +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
f35750bc08
beautify
2013-07-04 20:19:51 +01:00
Hieu Hoang
b10159a29f
mac compile
2013-07-03 20:19:45 +01:00
Sara Stymne
b2eb42ed12
added document level Bleu scoring to mert
2013-07-03 14:03:58 +02:00
Hieu Hoang
abe6bb7c22
refactor parsing of feature functiona args
2013-06-10 18:11:55 +01:00
Hieu Hoang
b9f54b195a
implement GenerationDictionary.Load()
2013-06-05 13:42:56 +01:00
Matous Machacek
3055be8837
fixed two bugs in CderScorer.cpp
2013-06-03 16:59:13 +02:00
Hieu Hoang
6249432407
beautify
2013-05-29 18:16:15 +01:00
phikoehn
4cdffc8a89
fixes for sparse feature handling
2013-05-17 08:37:29 +01:00
Hieu Hoang
fd4e954322
merge
2013-03-24 09:57:36 +00:00
Matous Machacek
7b9c5c1194
fixed bug in InterpolatedScorer
2013-03-19 23:08:28 +01:00
Hieu Hoang
5c10a2889e
Merge github.com:moses-smt/mosesdecoder into weight-new
2013-02-20 17:02:34 +00:00
Barry Haddow
9ca364fb22
Implement brevity penalty smoothing for PRO
...
As in Nakov et al (Coling 2012)
2013-02-18 11:11:20 +00:00
hieu
01243e415a
Merge branch 'master' into weight-new
2013-01-03 17:17:35 +00:00
hieu
1dfbe1113c
delete MergeScorer in mert/
2013-01-03 15:01:30 +00:00
Hieu Hoang
4f0d3c2032
Merge branch 'master' into weight-new
2012-12-20 20:27:50 +00:00
Tetsuo Kiso
ce1b650b53
Fix memory leak.
...
The object was allocated with new, but it was not deleted.
This may not be a serious problem because the program mostly runs
a short time. However, it is not a good practice.
2012-12-21 03:06:41 +09:00
Hieu Hoang
bc615bdac8
Merge branch 'master' into weight-new
2012-12-18 12:46:00 +00:00
hieu
05045d574c
don't display unknown weight penalty when showing weight, don't usually tune. Also, change delimiter in mert extractor from : to =
2012-12-16 18:29:53 +00:00
Ales Tamchyna
598d65bcfd
adding a simple command-line utility for computing sentence-level BLEU (+1)
2012-12-10 13:12:34 +01:00
Tetsuo Kiso
2a3c9fc679
Further optimization for extractor.
...
Fixes inefficient updating N-gram counts.
NOTE: Using '--binary' option (this option is not enabled by default yet)
for saving outputs would lead to significant speed up.
2012-12-07 08:45:47 +09:00
Tetsuo Kiso
8fdec9bf30
Use boost::unordered_map instead of std::map.
...
For storing the word vocabulary used in computation of
BLEU scores. This change will reduce the running time
of extractor about 2-3 seconds (9% reduction).
2012-12-07 05:12:24 +09:00
Tetsuo Kiso
6c04c4ad9c
Add more tests to the Data class.
2012-12-07 02:46:59 +09:00
Tetsuo Kiso
c7f6e38326
Use FilePiece to load N-best lists.
...
Since FilePiece is friendly with StringPiece.
2012-12-07 02:39:02 +09:00
Tetsuo Kiso
38e145e556
Use util::TokenIter to tokenize n-best lists.
...
Reduce creating std::string objects, too. In both ScoreArray
and FeatureArray classes, the private members to track sentence
indices (namely, "m_index") were unnecessarily declared as
std::string, but it's better to directly declare them as 'int'.
2012-12-07 01:39:22 +09:00
Tetsuo Kiso
cd3fb3b831
Untabify.
2012-12-06 23:46:22 +09:00
Tetsuo Kiso
ac045a11c1
Speed up N-gram counts when running extractor.
...
By replacing std::map with boost::unordered_map.
Runtime of extractor on 100-best lists of 2679 sentences:
Before:
real 0m35.314s
user 0m34.030s
sys 0m1.280s
Ater:
real 0m26.729s
user 0m25.420s
sys 0m1.310s
2012-12-06 22:08:33 +09:00
Hieu Hoang
f96b33de83
only include moses root when compiling
2012-11-14 13:43:04 +00:00
Hieu Hoang
f8438f80cc
move moses/src/* to moses/
2012-11-12 20:30:39 +00:00
Hieu Hoang
5e3ef23cef
move moses/src/* to moses/
2012-11-12 19:56:18 +00:00
Kenneth Heafield
e9eb7dd021
More shared build fixes
2012-11-07 23:28:42 +01:00