jfouet
242846f07c
Use portable include guard instead of pragma once
...
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@2939 1f5c12ca-751b-0410-a591-d2e778427230
2010-02-24 11:15:44 +00:00
phkoehn
11139a364d
improvements to pruning, working version passed regression
...
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1956 1f5c12ca-751b-0410-a591-d2e778427230
2008-12-13 12:08:55 +00:00
hieuhoang1972
928d771085
create namespace
...
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1897 1f5c12ca-751b-0410-a591-d2e778427230
2008-10-08 23:51:26 +00:00
hieuhoang1972
4f642808f1
move cube pruning moses lib to trunk
...
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1848 1f5c12ca-751b-0410-a591-d2e778427230
2008-06-11 10:52:57 +00:00
hieuhoang1972
6615fe0302
delete old moses lib
...
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1847 1f5c12ca-751b-0410-a591-d2e778427230
2008-06-11 10:52:01 +00:00
hieuhoang1972
f3cbacba3e
code cleanup - make FactorCollection and StaticData totally accessible only globally
...
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1218 1f5c12ca-751b-0410-a591-d2e778427230
2007-02-16 18:08:37 +00:00
phkoehn
73e14d2114
code cleanup and documentation, especially moving use of global properties from function parameters down to StaticData calls in TranslationOptionCollection
...
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@600 1f5c12ca-751b-0410-a591-d2e778427230
2006-08-09 20:38:27 +00:00
hieuhoang1972
2a4cb09a6c
can set max trans option per coverage
...
turned off profiling
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@350 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-28 03:20:09 +00:00
zens
a28dc42dd0
- fixed confusion net stuff (translations are identical, scores still different)
...
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@270 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-25 14:08:21 +00:00
zens
162c8583c6
- TranslationOptionCollection...
...
* moved generic functions to base class
* todo: implement ProcessInitialTranslation and ProcessUnknownWord
for confusion nets
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@269 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-25 13:35:42 +00:00
hieuhoang1972
dd8a983149
merged up of chaching algorithm. lot6s of changed made to manager.cpp, TranslationOptColl.cpp, amongst other.
...
other code may be broken as a result
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@267 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-25 04:53:29 +00:00
zens
47edc0599d
- removed some obsolete parts
...
- avoided some code duplication
- binary ttable is no longer a compiler switch:
use binary ttable if exists, otherwise use standard ttable
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@253 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-21 22:03:03 +00:00
zens
98ef97e803
- translation of confusion nets integrated (works only with binary phrase table)
...
- removed some obsolete stuff
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@250 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-21 21:09:23 +00:00
zens
325353b0f4
- support for binary ttable in moses almost completed
...
- moved common part of CreateTranslationOptionCollection() for text and confusion net input
to base class
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@237 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-21 13:22:00 +00:00
zens
648bd1dfcd
- prepared confusion net input
...
-> new base class InputType is used throughout the decoder
instead of Sentence
Sentence and ConfusionNet derive from this class
-> Manager etc. do not know if the input is a sentence or a
confusion net (but could check if REALLY needed)
- two separate classes derived from TranslationOptionCollection:
one for text input and one for confusion net input
- score computation in PhraseDictionaryTree.cpp and some optimizations
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@183 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-19 00:16:29 +00:00