Commit Graph

28 Commits

Author SHA1 Message Date
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
abarun
e3416f2613 added functionality to core classes to support future work on ILP
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@970 1f5c12ca-751b-0410-a591-d2e778427230
2006-11-09 19:24:41 +00:00
abarun
c140de307e ijik
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@968 1f5c12ca-751b-0410-a591-d2e778427230
2006-11-09 17:04:47 +00:00
hieuhoang1972
1698634019 added comments
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@903 1f5c12ca-751b-0410-a591-d2e778427230
2006-10-21 14:24:32 +00:00
hieuhoang1972
7a1414e4c1 added comments
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@861 1f5c12ca-751b-0410-a591-d2e778427230
2006-10-05 18:50:21 +00:00
redpony
441b147b35 Get rid of FactorArrayWrapper/FactorArray and use only Word. Memory pool is currently disabled, but the net cleanup resulted in better performance despite this (there are fewer copies of FactorArray -> Word now).
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@827 1f5c12ca-751b-0410-a591-d2e778427230
2006-09-25 21:35:10 +00:00
redpony
c69cfaf33e Allow the factor delimiter, that is, the string that separates the factors in a 'word' to be specified to moses and to train-factored-phrase-model.perl. The default is still to use '|'. Multi-character delimiters are allowed (for example, '+++'). Added a regression test for multi-character delimiters.
Remove JHU dependencies on make release.  It now looks for GIZA++ and sets the BINDIR inside train-factored-phrase-model.perl at installation time (note: because of this, this script MUST BE released before it can be run now).



git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@812 1f5c12ca-751b-0410-a591-d2e778427230
2006-09-12 15:53:50 +00:00
eherbst
5cb683cd7e moved class InputType to InputType.h;
added more detailed statistics-keeping to SentenceStats;
added custom malloc/realloc (see Util.h);
some commenting


git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@666 1f5c12ca-751b-0410-a591-d2e778427230
2006-08-11 21:04:38 +00:00
redpony
0783a03f3a performance fixes for multi-factored models (basically, only copy the features that you really need, and only filter if you really might see a conflict)
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@641 1f5c12ca-751b-0410-a591-d2e778427230
2006-08-11 06:03:11 +00:00
ccorbett
f6f7ee3dbb LexicalReordering model now functional with both surface forms and factors. Only one reordering model can be used at a time, for now. This will change so that an arbitrary number of reordering models may be used.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@638 1f5c12ca-751b-0410-a591-d2e778427230
2006-08-11 02:12:53 +00:00
redpony
95d2ef4b55 add smarter log message when the wrong number of phrases are present
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@619 1f5c12ca-751b-0410-a591-d2e778427230
2006-08-10 15:42:16 +00:00
hieuhoang1972
d5b0cdb73a deleted Phrase default constructor
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@527 1f5c12ca-751b-0410-a591-d2e778427230
2006-08-07 14:08:46 +00:00
zens
5deccd7744 - add assignment operator for Phrase class
(default implementation segfaults because of mempool)
- store source phrase pointer in confusion net case


git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@465 1f5c12ca-751b-0410-a591-d2e778427230
2006-08-02 19:31:50 +00:00
ccorbett
60af7b2844 integrated some of the confusion network code into LexicalReordering; fixed a bug in hashing the hypothesis conditioned on both the source and the target; started integrated some of the new scoring system into LexicalReordering.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@420 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-31 20:49:51 +00:00
hieuhoang1972
e74d282351 using mem pool. needs to be more finely tweaked to give good results
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@413 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-31 19:44:14 +00:00
hieuhoang1972
33fa518c97 using mem pool. needs to be more finely tweaked to give good results
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@412 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-31 19:08:33 +00:00
redpony
0c38aeae70 fix build
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@404 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-31 12:45:11 +00:00
hieuhoang1972
709bd69df0 getting ready to use mempool for Phrase
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@397 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-30 02:34:21 +00:00
hieuhoang1972
38446f8def minor cleanup to enable non-N-Best decoding. small mem leak
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@375 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-29 01:39:22 +00:00
hieuhoang1972
a4703948be added debugging function
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@305 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-26 18:38:39 +00:00
ccorbett
ee3e1e1576 Lexical reordering framework; confusion net still not working but Chris implied that was ok. All other regression tests passed
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@276 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-25 15:52:09 +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
eherbst
97a8cc070a commenting
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@158 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-17 21:50:42 +00:00
alex_const
d0526330d4 Added command line argument (-v / -verbose), which prints out information about each hypothesis for debugging.
Changed toString method for "Word" to remove parantheses around words.


git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@83 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-12 20:31:25 +00:00
hieuhoang1972
df0d858673 variable number of translation component scores
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@18 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-08 23:42:26 +00:00
hieuhoang1972
32edb3d668 start of sourceforge
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4 1f5c12ca-751b-0410-a591-d2e778427230
2006-07-04 17:44:36 +00:00