Commit Graph

1996 Commits

Author SHA1 Message Date
bhaddow
bdd9b5d833 setting of bleu weight
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3517 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 13:53:08 +00:00
ales-t
540d6dd6e7 Fixed some compilation errors.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3516 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 13:46:40 +00:00
ales-t
4e48b1d9fe Prepared the integration of target bigram features.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3515 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 13:36:03 +00:00
hieuhoang1972
0eddbe99e1 bleu weight changeable
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3513 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 13:21:51 +00:00
bhaddow
960c5f3d77 correct calculation of loss
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3512 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 13:16:25 +00:00
bhaddow
c52ad1fc22 Most of driver done, need weight updating.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3511 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 12:54:58 +00:00
ales-t
5dd4c4755b Compiles again.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3510 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 12:50:29 +00:00
ales-t
aa77dc32f8 Created class for target bigram feature.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3509 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 12:42:33 +00:00
hieuhoang1972
6a8ee95ebb bleu weight changeable
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3508 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 12:37:30 +00:00
ales-t
ccb5879db6 Created files for target bigram feature.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3507 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 12:32:30 +00:00
ales-t
21132927f3 Reg. tests now pass with shorter InitFeatureNames implementation.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3506 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 10:30:31 +00:00
bhaddow
0d1fb2057e working on driver
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3505 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 10:17:27 +00:00
smaj
f35a997251 mira
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3504 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 09:38:18 +00:00
smaj
de04d30087 mira
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3503 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 09:34:42 +00:00
bhaddow
00bd7b3fba Missed from check-in
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3502 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 09:24:46 +00:00
bhaddow
7c7f35a632 Fix optimiser interface
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3501 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 09:17:05 +00:00
ales-t
3c50678574 Attempt to fix InitFeatureNames
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3500 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 08:56:32 +00:00
bhaddow
ff93086924 Force the initialisation of the phrase dictionary
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3499 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 08:33:22 +00:00
hieuhoang1972
2c4e85a910 makefile update
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3498 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 07:41:38 +00:00
hieuhoang1972
c4635251e9 Compileable
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3497 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 07:35:31 +00:00
smaj
36b6aad53e Calling of InitFeatureNames moved.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3496 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 20:40:20 +00:00
smaj
9b238be7cd Repeat inherited virtual at std::string GetScoreProducerDescription() const.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3495 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 20:13:37 +00:00
starsplash
27d497bb4c Implementation of MIRA
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3493 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 17:22:52 +00:00
ales-t
a6a571a2d2 "Fixed" the 'called pure virtal function' bug.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3492 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 17:08:12 +00:00
bhaddow
a30877f29b perceptron optimisation
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3491 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 17:01:23 +00:00
oliver-wilson
d3bc059015 Implement ngram count history.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3490 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 16:44:11 +00:00
hieuhoang1972
6ed43ab576 output 1 nbest
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3489 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 16:23:52 +00:00
bhaddow
907766d67a reduce compile time dependencies
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3488 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 15:45:56 +00:00
oliver-wilson
21261c5700 Refactor the rather hairy ngram matching code into something mortals can
understand.


git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3487 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 15:40:13 +00:00
ales-t
afdb1e9a7e Simplified implementation of InitFeatureNames.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3486 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 15:31:53 +00:00
bhaddow
7374984adb correct length calculation
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3485 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 15:12:20 +00:00
smaj
f7b1a7a67e GetScoreProducerDescription hot-fix
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3484 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 15:07:41 +00:00
hieuhoang1972
fe2873a934 xcode
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3483 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 15:01:16 +00:00
hieuhoang1972
e58cf4c64e bleu scorer
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3482 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 14:52:14 +00:00
ales-t
e16f4f2a4e Separating function definitions from declarations for GetFeatureName & GetFeatureIndex.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3481 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 14:38:59 +00:00
bhaddow
ff01b6ddfd Fix bleu score feature
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3480 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 14:12:17 +00:00
bhaddow
ba5ccb7bc5 debugging and fixes for BleuScoreFeature
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3479 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 12:49:57 +00:00
oliver-wilson
7136dcbf6d Only compute approximate bleu score on the hypothesis expansion.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3478 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 12:38:00 +00:00
hieuhoang1972
aece4437c2 bleu scorer
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3477 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 09:54:13 +00:00
bhaddow
ade3fee90f don't pass args to moses
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3476 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 07:49:12 +00:00
hieuhoang1972
597eb24d40 sparse vectors work
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3474 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 07:06:42 +00:00
hieuhoang1972
e758b85042 fixed featu vec
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3473 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-15 17:27:37 +00:00
oliver-wilson
255057ddd7 Added methods to get reference translations into BleuScoreFeature.
Implemented CalculateBlue method.


git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3472 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-15 16:51:21 +00:00
smaj
5204e29681 Fixed usage of [].
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3470 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-15 16:30:52 +00:00
ales-t
45261017f4 Attempt to fix operator [] return type issue.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3469 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-15 16:09:55 +00:00
bhaddow
f1515e5dac fix optimiser interface
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3468 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-15 16:09:43 +00:00
hieuhoang1972
8c078cdde7 get rid of weight in LM class
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3466 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-15 16:02:41 +00:00
ales-t
340a9627df Added inner_product method declaration.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3465 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-15 15:56:23 +00:00
ales-t
47a4bafbdf Fixing more bugs in FeatureVector.cpp.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3464 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-15 15:48:09 +00:00
bhaddow
c01783869a stubbing out of optimiser
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3463 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-15 15:38:46 +00:00