Nicola Bertoldi
20381cbf89
merged master into dynamic-models and solved conflicts
2014-04-28 19:18:38 +02:00
Rico Sennrich
45630a5851
various optimizations to make CYK+ parser several times faster and eat less memory.
...
speed-up of decoding depends on how much time is spent in parser:
10-50% speed-up for string-to-tree systems observed (more on long sentences and with high max-chart-span).
if you only use hiero or string-to-tree models (but none with source syntax), use compile-option --unlabelled-source for (small) efficiency gains.
2014-03-21 11:12:24 +00:00
Phil Williams
04dbd3c7aa
moses_chart: more efficient scope-3 parsing if sentence length < max-chart-span
2014-03-14 08:49:09 +00:00
Nicola Bertoldi
bd83999264
beautify
2014-01-15 16:42:02 +01:00
Hieu Hoang
f13d0c8244
UTIL_THROW_IF -> UTIL_THROW_IF2
2013-11-22 20:27:46 +00:00
Hieu Hoang
16cf3bb4c7
replace CHECK with UTIL_THROW_IF in Moses
2013-11-20 17:19:57 +00:00
Hieu Hoang
ab8402cfe8
remove description argument from feature function constructor. Redundant
2013-10-29 18:20:55 +00:00
Hieu Hoang
f18e35c42a
correct creation of input paths for lattices
2013-10-03 18:58:45 +01:00
Hieu Hoang
bb511af0ee
minor rename of variables
2013-10-02 16:51:16 +01:00
Hieu Hoang
31ce9b510e
beautify
2013-09-27 09:35:24 +01:00
=
c227cde790
Fixed code formatting.
2013-09-24 23:57:49 +01:00
Hieu Hoang
de9decc30d
mark GetTargetPhraseCollection with LEGACY
2013-08-23 21:02:03 +01:00
Hieu Hoang
41d9386dcc
add method to reduce cache size
2013-08-16 15:05:36 +01:00
Hieu Hoang
ba187294d5
begin cleanup of SCFG parsing. Get rid of Sentence variable in ChartRuleLookupManager, replace with ChartParser variable
2013-07-31 12:25:34 +01:00
Hieu Hoang
87c346654e
merge
2013-07-16 17:11:12 +01:00
Hieu Hoang
5cbfcacccc
Merge github.com:moses-smt/mosesdecoder into hieu_opt_input
2013-07-16 16:56:22 +01:00
Hieu Hoang
f3e0fd2dd4
finished converting TargetPhraseCollection* to TargetPhraseCollection
2013-07-16 16:55:56 +01:00
Hieu Hoang
56f4344ff2
merge
2013-07-13 23:26:21 +01:00
Kenneth Heafield
1b3f769c5c
Always have a TargetPhraseCollection.
...
Before:
Name:moses_chart VmPeak:12027904 kB VmRSS:10151884 kB real:173.000
real 2m53.608s
user 2m44.003s
sys 0m8.401s
After:
Name:moses_chart VmPeak:11988700 kB VmRSS:10112684 kB real:177.500
real 2m58.393s
user 2m39.673s
sys 0m12.171s
2013-07-12 07:01:33 -07:00
Hieu Hoang
66e7720b91
rename SetTargetPhraseFromPtMatrix() to GetTargetPhraseCollectionBatch()
2013-07-11 20:18:06 +01:00
Hieu Hoang
c6d8259f68
delete as many override of GetTargetPhraseCollection() as possible
2013-07-11 20:05:08 +01:00
Hieu Hoang
5f9d0a85f5
rename vector<InputPath> to InputPathList. Pass regression tests
2013-07-09 14:19:35 +01:00
Hieu Hoang
29b895a97a
InputLatticeNode to InputPath
2013-07-07 02:14:51 +01:00
Hieu Hoang
ecef376aed
rename InputLatticeNode.h to InputPath.h
2013-07-06 22:42:52 +01:00
Hieu Hoang
574d186708
beautify
2013-07-04 23:38:18 +01:00
Hieu Hoang
f0dc30f25a
prefix subphrase optimization done for in-memory pt. Need to delete objects also
2013-07-04 15:13:29 +01:00
Hieu Hoang
934e24718e
a little bit more towards using prefix subphrase to optimize translation rule lookup
2013-07-04 09:24:13 +01:00
Hieu Hoang
5e355c1595
move lookup of all subphrases into PhraseDictionary class
2013-07-03 19:07:36 +01:00
Hieu Hoang
24d2edd790
redo parsing of feature function parameters
2013-06-20 13:06:03 +01:00
Hieu Hoang
dc33fa3d3d
redo parsing of feature function parameters
2013-06-20 12:50:41 +01:00
Hieu Hoang
e51c4feb6b
push calling of OnlyTheseFactors() to individual PT implementations, as needed
2013-06-17 18:31:06 +01:00
Hieu Hoang
6249432407
beautify
2013-05-29 18:16:15 +01:00
Hieu Hoang
6c322ba05e
move and rename PhraseDictionarySCFG -> PhraseDictionaryMemory
2013-05-24 16:33:30 +01:00
Hieu Hoang
4a280c8ca7
move and rename PhraseDictionarySCFG -> PhraseDictionaryMemory
2013-05-24 16:23:31 +01:00
Hieu Hoang
83494418e2
delete PhraseDictionaryMemory. Fix word penalty in compact phrase table
2013-04-26 15:55:32 +01:00
Hieu Hoang
9298402dcf
merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat()
2013-03-08 19:10:28 +00:00
Hieu Hoang
d0e2e417aa
merging PhraseDictionaryMemory and PhraseDictionarySCFG. target phrase score not the same
2013-03-08 16:33:36 +00:00
Hieu Hoang
991ea4f9c1
minor tidy up
2013-03-04 16:01:25 +00:00
Hieu Hoang
30ef335226
sparse pt features works with new pt format
2013-02-25 16:52:02 +00:00
Hieu Hoang
682aaf4c6f
load pt memory
2013-02-25 11:03:34 +00:00
Hieu Hoang
24aac70a69
new pt format compiles. Doesn't run probably, doesn't load
2013-02-24 16:01:50 +00:00
Hieu Hoang
7d4ca4f21e
new pt format compiles. Doesn't run probably, doesn't load
2013-02-24 15:38:29 +00:00
Hieu Hoang
194adf8130
change format for phrase model
2013-02-22 19:17:57 +00:00
Hieu Hoang
bf58eac8bc
clean up InitializeBeforeSentenceProcessing()
2012-12-24 18:52:04 +00:00
Hieu Hoang
0df397065d
clean up InitializeBeforeSentenceProcessing()
2012-12-24 16:52:40 +00:00
Hieu Hoang
59449f2925
make TranslationModel subdirectory and move files from moses/ into it
2012-11-27 15:08:31 +00:00