Nicola Bertoldi
20381cbf89
merged master into dynamic-models and solved conflicts
2014-04-28 19:18:38 +02:00
Rico Sennrich
1f435340f0
faster pruning in chart decoding
2014-03-26 11:23:59 +00:00
Rico Sennrich
fb16df8c00
typo in last commit
2014-03-21 11:59:41 +00: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
Nicola Bertoldi
a815ae0812
Merge branch 'master' into dynamic-models
2014-01-17 14:32:34 +01:00
Nicola Bertoldi
4b072f2097
merge master into this branch
2014-01-17 14:04:15 +01:00
Rico Sennrich
742e59f1e0
minor optimization (minimize performance impact of SoftMatchingFeature code if disabled)
2014-01-17 11:57:52 +00:00
Rico Sennrich
ed25bb2b99
soft matching of target-side nonterminals
2014-01-16 18:34:33 +00:00
Nicola Bertoldi
e452a13062
beautify
2014-01-15 16:49:57 +01:00
Rico Sennrich
96ca814b86
special handling of partial rules that can only have terminal symbol next;
...
we only need to search once for matching terminals.
speed: 336s -> 309s
VmPeak: 2914132kB -> 2783064kB
RSSMax: 2766976kB -> 2699148kB
2013-12-06 12:54:58 +00:00
Hieu Hoang
f13d0c8244
UTIL_THROW_IF -> UTIL_THROW_IF2
2013-11-22 20:27:46 +00:00
Hieu Hoang
0a8390981e
delete includes for util/check.hh
2013-11-21 18:58:28 +00:00
Hieu Hoang
aca78534c4
replace CHECK with UTIL_THROW_IF in Moses
2013-11-20 14:02:38 +00:00
Hieu Hoang
6759af3821
beautify
2013-10-03 11:33:48 +01:00
Hieu Hoang
9e890479a2
get ready to do lattice for scfg
2013-09-28 19:06:04 +01:00
Hieu Hoang
9d9c43f9a7
skelete pt
2013-09-28 09:42:17 +01:00
Hieu Hoang
06c5621d97
skelete pt
2013-09-27 20:45:20 +01:00
Hieu Hoang
ba1f1cb06b
skelete pt
2013-09-27 09:43:43 +01:00
Hieu Hoang
31ce9b510e
beautify
2013-09-27 09:35:24 +01:00
Hieu Hoang
dbaabb1985
move Uli's new pt into it's own folder. Comment out bjam compile. Doesn't work on MacOSX yet
2013-09-26 12:16:03 +01:00
Hieu Hoang
847f7c1ea2
skeleton PT
2013-09-25 20:59:13 +01:00
Hieu Hoang
afcf65098f
parsing doesn't depend on input sentence anymore
2013-08-02 18:09:47 +01:00
Hieu Hoang
0596c3e9e4
Add NonTerminalSet variable to InputPath
2013-08-02 15:54:49 +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
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
789039fa2e
In-line PhraseDictionaryNodeMemory with the hash table data structure
...
Before:
Name:moses_chart VmPeak:11988700 kB VmRSS:10112684 kB
real 2m58.393s
user 2m39.673s
sys 0m12.171s
After:
Name:moses_chart VmPeak:11952688 kB VmRSS:10077304 kB
real 2m42.329s
user 2m31.219s
sys 0m10.261s
2013-07-12 07:13:19 -07:00
Hieu Hoang
958d7ca9b8
prefix subphrase optimization for confusion networks
2013-07-09 16:56:49 +01:00
Hieu Hoang
310b26f989
beautify
2013-07-08 20:52:14 +01:00
Hieu Hoang
3eba5782c2
beautify
2013-07-08 20:25:47 +01:00
Hieu Hoang
8d857fa26e
OnDisk pt passes regression
2013-07-08 19:01:28 +01:00
Hieu Hoang
7114b164c7
cleanup of OnDiskPt methods
2013-07-05 11:10:10 +01:00
Hieu Hoang
574d186708
beautify
2013-07-04 23:38:18 +01:00
Hieu Hoang
dc33fa3d3d
redo parsing of feature function parameters
2013-06-20 12:50:41 +01:00
Hieu Hoang
abe6bb7c22
refactor parsing of feature functiona args
2013-06-10 18:11:55 +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
b10ecf2b44
make each node in trie a pointer. No possibility that the node is delete during build of the trie
2013-05-23 12:50:57 +01:00
Hieu Hoang
81003b9464
delete references to WordPenaltyProducer
2013-05-21 13:44:19 +01:00
Hieu Hoang
195186b335
delete references to WordPenaltyProducer
2013-05-21 13:39:31 +01:00
Hieu Hoang
0e1c246010
delete references to WordPenaltyProducer
2013-05-21 13:22:04 +01:00
Hieu Hoang
42ddc084b4
delete references to LMList
2013-05-21 12:47:26 +01:00
Hieu Hoang
ff880ec6f1
delete references to LMList
2013-05-21 12:27:13 +01:00
Hieu Hoang
194adf8130
change format for phrase model
2013-02-22 19:17:57 +00:00
Hieu Hoang
bc1e96730d
move CKY+Parser to TranslationModel/
2012-11-27 17:23:31 +00:00