Commit Graph

1057 Commits

Author SHA1 Message Date
Hieu Hoang
8c1883a838 Merge branch 'perf_moses2' of github.com:moses-smt/mosesdecoder into perf_moses2 2016-04-30 16:15:07 +01:00
hieu
a888c8cea7 gcc compile error on centos 6.7 2016-04-30 11:10:08 -04:00
Hieu Hoang
8c3ab7046d debugging messages 2016-04-30 11:47:51 +01:00
Hieu Hoang
0feb925061 merge 2016-04-29 19:18:22 +01:00
Michael R. Hutt
66a83ed09b adds missing extraction operators for enums 2016-04-29 11:53:59 -04:00
Hieu Hoang
afe2af6b93 get ready for scfg prev hypos 2016-04-29 13:09:49 +01:00
Hieu Hoang
9de346825f less debugging messages 2016-04-29 12:23:43 +01:00
Hieu Hoang
96e735dda1 isNT must be set correctly when creating factor 2016-04-29 12:19:53 +01:00
Hieu Hoang
88b4b23434 debugging messages 2016-04-29 10:54:58 +01:00
Hieu Hoang
cca5f17f81 debugging messages 2016-04-29 01:05:47 +01:00
Hieu Hoang
acd1ae8b6e debugging messages 2016-04-29 00:09:02 +01:00
Hieu Hoang
86243ef945 tweak 2016-04-28 23:45:23 +01:00
Hieu Hoang
895b461a85 debugging messages 2016-04-28 23:41:09 +01:00
Hieu Hoang
f12f61f157 LookupNT() 2016-04-28 20:56:26 +01:00
Hieu Hoang
29345fbbc4 debug messages 2016-04-28 20:08:55 +01:00
Hieu Hoang
389d497ddb measure time from before loading 2016-04-28 16:51:42 +01:00
Hieu Hoang
38c1872bea debug messages 2016-04-28 15:19:53 +01:00
Hieu Hoang
e899ef9e4c use pointers for root nodes to prevent them being confused with each other 2016-04-28 00:21:02 +01:00
Hieu Hoang
b353025c42 add target phrase to path 2016-04-28 00:13:25 +01:00
Hieu Hoang
aa08ce9a0a tweak 2016-04-28 00:09:19 +01:00
Hieu Hoang
aaa3f24109 debugging method for source phrase 2016-04-27 23:30:24 +01:00
Hieu Hoang
f84e9c60e0 delete debugging message 2016-04-27 23:19:19 +01:00
Hieu Hoang
758c509e3c word penalty 2016-04-27 23:30:12 +04:00
Hieu Hoang
876aad0eca EvaluateInIsolation() for SCFG 2016-04-27 23:21:32 +04:00
Hieu Hoang
efb7155e6a call correct Sentence class 2016-04-27 22:59:03 +04:00
Hieu Hoang
ad0541e0f8 templatize node 2016-04-27 22:52:05 +04:00
Hieu Hoang
e076d0c3df templatize node 2016-04-27 21:01:22 +04:00
Hieu Hoang
15a02676ed templatize node 2016-04-27 20:56:08 +04:00
Hieu Hoang
d7bb816a47 pt mem 2016-04-27 20:37:58 +04:00
Hieu Hoang
d36f9bb95b Word -> SCFG::Word 2016-04-27 20:32:22 +04:00
Hieu Hoang
552d395013 pt mem 2016-04-27 18:09:00 +04:00
Hieu Hoang
9ceba1bd22 pt mem 2016-04-27 17:30:49 +04:00
Hieu Hoang
d1b2e46109 separate Sentence class for SCFG 2016-04-27 13:41:56 +04:00
Hieu Hoang
d9058e3be8 separate Sentence class for SCFG 2016-04-27 13:36:15 +04:00
Hieu Hoang
a8ce541add separate Sentence class for SCFG 2016-04-27 12:42:07 +04:00
Hieu Hoang
87b042fae2 move sentence to PhraseBased 2016-04-27 12:31:01 +04:00
Hieu Hoang
c860a29702 simplify phrase class hierarchy 2016-04-27 12:10:51 +04:00
Hieu Hoang
285e4fb188 tweaks 2016-04-27 03:42:46 +04:00
Hieu Hoang
61ed0d18c5 templatize Sentence class 2016-04-27 03:35:20 +04:00
Hieu Hoang
7d780593bb inline fn. COmpile error on gcc 2016-04-26 17:29:24 -04:00
Hieu Hoang
a6634789fd templatize SubPhrase class 2016-04-27 01:18:19 +04:00
Hieu Hoang
8d879ebaf7 templatize SubPhrase class 2016-04-27 00:57:52 +04:00
Hieu Hoang
d06bdecbd3 templatize SubPhrase class 2016-04-27 00:44:15 +04:00
Hieu Hoang
5ed6fe1434 templatize TargetPhrase class 2016-04-26 23:53:53 +04:00
Hieu Hoang
23d3ec326d templatize TargetPhrase class 2016-04-26 17:47:31 +04:00
Hieu Hoang
56be628653 put target phrase into separate class 2016-04-26 14:40:57 +04:00
Hieu Hoang
c847478b46 templatize Phrase class 2016-04-26 12:54:23 +04:00
Hieu Hoang
86cdcdb00c templatize Phrase class 2016-04-26 12:23:18 +04:00
Hieu Hoang
9f66954c4b get ready to templatize Phrase class 2016-04-25 17:06:38 +04:00
Hieu Hoang
6780f22bb7 copy some methods into impl template 2016-04-25 16:36:29 +04:00
Hieu Hoang
ebc619979d ispb() 2016-04-24 21:25:04 +04:00
Hieu Hoang
2e2743c956 templated node 2016-04-24 14:48:32 +04:00
Hieu Hoang
4dc16a617e separate node into new file 2016-04-24 14:42:16 +04:00
Hieu Hoang
b9dd3a42e7 separate node into new file 2016-04-24 14:26:20 +04:00
Hieu Hoang
ff39487a75 separate node into new file 2016-04-22 10:25:22 +04:00
Hieu Hoang
1bf47111b3 separate node into new file 2016-04-22 10:25:01 +04:00
Hieu Hoang
601af6a9e3 NT in pt memory 2016-04-21 19:22:09 +04:00
Hieu Hoang
4a00f1e881 parse NT correctly. Lots of debugging messages 2016-04-21 17:19:31 +04:00
Hieu Hoang
62000e0ebc gcc compile error 2016-04-20 23:31:22 +04:00
Hieu Hoang
2e2b63df0b debug decoding 2016-04-20 23:22:57 +04:00
Hieu Hoang
ec2a9c4792 active chart 2016-04-20 20:13:05 +04:00
Hieu Hoang
f123948766 active chart 2016-04-20 19:54:08 +04:00
Hieu Hoang
a9e40b10ab separate active chart classes into their own file 2016-04-20 18:03:50 +04:00
Hieu Hoang
3577946da6 add datastructure to store range of each symbol in source phrase 2016-04-20 09:29:24 +04:00
Hieu Hoang
b0084adbe4 add datastructure to store range of each symbol in source phrase 2016-04-19 23:45:17 +04:00
Hieu Hoang
43220ea994 start word alignment info 2016-04-18 18:56:54 +04:00
Hieu Hoang
c8f1c04603 start word alignment info 2016-04-18 17:53:20 +04:00
Hieu Hoang
63b72425fa get ready for evaluation 2016-04-18 08:55:13 +04:00
Hieu Hoang
d667f57342 output stack sizes 2016-04-17 22:33:21 +04:00
Hieu Hoang
40e08b5e52 lookup nt 2016-04-17 18:39:44 +04:00
Hieu Hoang
cafa3ab5a8 modularize lookup code 2016-04-17 18:11:13 +04:00
Hieu Hoang
30036c56bb tighten up pt framework 2016-04-17 16:38:03 +04:00
Hieu Hoang
f32996975a lookup nt 2016-04-17 16:33:04 +04:00
Hieu Hoang
42a0d6195e add hypo to stack 2016-04-17 14:55:08 +04:00
Hieu Hoang
229832231c inline fn. COmpile error on gcc 2016-04-17 06:15:29 -04:00
Hieu Hoang
4a8f9d1bfe Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2 2016-04-17 06:12:55 -04:00
Hieu Hoang
d20dbb79f1 Scan<SourceLabelOverlap>() 2016-04-17 14:12:45 +04:00
Hieu Hoang
00548bdab8 Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2 2016-04-17 06:10:23 -04:00
Hieu Hoang
d1a41519e6 +#include <stddef.h>
for size_t
2016-04-17 06:10:13 -04:00
Hieu Hoang
6e68e70541 Scan<S2TParsingAlgorithm>() 2016-04-17 14:09:43 +04:00
Hieu Hoang
08ddcd2c77 TargetPhrases 2016-04-17 14:02:05 +04:00
Hieu Hoang
41b692513f add hypo to stack 2016-04-17 14:01:01 +04:00
Hieu Hoang
ef8a3c6dcc add hypo to stack 2016-04-17 12:47:04 +04:00
Hieu Hoang
8312df1e25 create Hypothesis class 2016-04-17 10:18:36 +04:00
Hieu Hoang
7845837002 create Hypothesis class 2016-04-17 10:16:58 +04:00
Hieu Hoang
f2065e05c8 store tp 2016-04-16 22:40:46 +04:00
Hieu Hoang
d8b3cbcb23 doesn't crash anymore 2016-04-16 22:18:52 +04:00
Hieu Hoang
6061f290a3 framework for active chart 2016-04-16 21:59:15 +04:00
Hieu Hoang
94e67a1d70 framework for active chart 2016-04-16 20:54:00 +04:00
Hieu Hoang
5f5d3d596f framework for active chart 2016-04-16 18:29:27 +04:00
Hieu Hoang
009d6c1612 delete debugging messages 2016-04-16 17:56:15 +04:00
Hieu Hoang
6934e9be08 TargetPhrases for unk pt 2016-04-16 17:35:42 +04:00
Hieu Hoang
d38fd3fca0 TargetPhrases 2016-04-15 23:33:17 +04:00
Hieu Hoang
f6615b74d1 move TargetPhrases.h to PhraseBased/ 2016-04-15 16:57:46 +04:00
Hieu Hoang
b7467dc551 get ready for SCFG 2016-04-15 16:38:01 +04:00
Hieu Hoang
9fa9636937 add <s> </s> for SCFG input 2016-04-15 11:33:45 +04:00
Hieu Hoang
a664dfa2af merge 2016-04-15 09:34:33 +04:00
michaelhutt
b1e3d24e66 Boost needs to be included before xmlrpc-c [gcc specific?]
Somewhere in xmlrpc-c, CR is defined as '\n' and boost::chrono has
a line in its header that is attempting to typedef something to CR
which creates very strange error messages.

The Intel compiler seems to have no problem with this, but gcc errors out.
2016-04-14 15:19:47 -04:00
Hieu Hoang
4abdf4fef3 syntax 2016-04-14 19:06:43 +04:00
Hieu Hoang
59dcf48db4 syntax options 2016-04-13 18:25:00 +04:00