Hieu Hoang
04783309ba
move DecodeFeature to FF directory
2013-08-30 16:03:06 +01:00
Hieu Hoang
03fd06b38b
convert Evaluate() methods into abstract, rather than empty functions. Every FF must implement them all
2013-08-30 15:49:00 +01:00
Lane Schwartz
c0fe9bb4ea
Updating XCode project
2013-08-29 12:56:25 -04:00
Hieu Hoang
f5fc57008f
save properties in target phrase object
2013-08-29 13:36:01 +01:00
Lane Schwartz
7675825eb7
Merge branch 'master' of www:/repos/git/Decoders/mosesdecoder
2013-08-28 13:27:12 -04:00
Lane Schwartz
8a726a9de4
Changes to allow SRILM on Mac OS X.
...
By default, SRILM defines a function called zopen.
However, on Mac OS X (and possibly other BSDs),
<stdio.h> already defines a zopen function.
To resolve this conflict, SRILM checks to see if HAVE_ZOPEN is defined.
If it is, SRILM will rename its zopen function as my_zopen.
So, before importing any SRILM headers,
it is important to define HAVE_ZOPEN if we are on an Apple OS.
2013-08-28 12:39:47 -04:00
Hieu Hoang
d79d97c0e6
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2013-08-28 11:06:44 +01:00
Hieu Hoang
1848946cb3
beautify
2013-08-28 11:06:27 +01:00
Hieu Hoang
89f88fdb6b
refactor parsing of args for language models
2013-08-28 11:05:47 +01:00
Lane Schwartz
08225d8e57
Re-enable backward LM code.
...
This commit updates that code to take into account Hieu's major refactoring.
Additionally, this commit re-instates changes from
commit 8459a86
(moses/LM/Jamfile, moses/LM/Ken.h, moses/LM/Ken.cpp),
commit d340218
(moses/LM/Ken.h),
commit 95e3a37
(moses/LM/Ken.h, moses/LM/Ken.cpp), and
commit aacc936
(moses/LM/Jamfile, moses/LM/Ken.cpp)
The above changes appear to have been improperly discarded
during the merge in commit 4894df6
and then again in commit 3ed17bb
.
2013-08-27 15:55:07 -04:00
Hieu Hoang
de888f2ab4
store arbitary key-value in translation rules
2013-08-27 09:42:24 +01:00
Kenneth Heafield
1a9a964b68
presize vector
2013-08-26 23:37:37 +01:00
Nadir Durrani
1444837ff9
Factored-based OSM
2013-08-25 13:23:42 +01:00
Hieu Hoang
f544d3aced
mark with LEGACY
2013-08-23 21:34:10 +01:00
Hieu Hoang
83df3629a9
mark GetTargetPhraseCollectionNonCache with LEGACY
2013-08-23 21:08:53 +01:00
Hieu Hoang
de9decc30d
mark GetTargetPhraseCollection with LEGACY
2013-08-23 21:02:03 +01:00
Hieu Hoang
5625f37eb1
delete ChartBasedFeatureContext
2013-08-23 15:00:47 +01:00
Hieu Hoang
3ad3cd9004
delete ChartBasedFeatureContext
2013-08-23 14:39:42 +01:00
Hieu Hoang
1d653c87aa
delete PhraseBasedFeatureContext
2013-08-23 14:25:25 +01:00
Hieu Hoang
4dfb625536
beautify
2013-08-23 13:53:30 +01:00
Hieu Hoang
0613d98beb
delete PhraseBasedFeatureContext
2013-08-23 13:38:31 +01:00
Kenneth Heafield
9186ae2d82
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2013-08-22 10:21:37 +01:00
Kenneth Heafield
c4dc57f8a3
swap
2013-08-22 10:16:24 +01:00
Hieu Hoang
5accd5f2e5
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2013-08-22 09:24:58 +01:00
Hieu Hoang
21c91dede2
delete GetWordPenaltyProducer(). Need non-const version only for mira
2013-08-22 09:24:46 +01:00
Hieu Hoang
fcf426a098
patch segfault for target phrase caching. Only occurs when multithreading.
2013-08-21 15:58:17 +01:00
Hieu Hoang
9e60195995
patch segfault for target phrase caching. Only occurs when multithreading.
2013-08-21 10:15:29 +01:00
Hieu Hoang
74aea53fd5
caching error for compact pt
2013-08-20 16:06:48 +01:00
Hieu Hoang
51ac2d6567
Merge branch 'hieu_opt_input' of ../hh
2013-08-16 17:05:04 +01:00
Hieu Hoang
4d2fea9b38
prevent segfault in OSM model when used in factored model with decomposed phrase-tables
2013-08-16 16:37:40 +01:00
Hieu Hoang
ae54494417
caching for Marcin's phrase table
2013-08-16 15:33:58 +01:00
Hieu Hoang
41d9386dcc
add method to reduce cache size
2013-08-16 15:05:36 +01:00
Hieu Hoang
3bfb0d7a5d
caching target phrase for OnDisk pt
2013-08-16 13:47:39 +01:00
Hieu Hoang
077142a2a1
caching target phrase for OnDisk pt
2013-08-16 13:26:21 +01:00
Hieu Hoang
31360e70ef
caching target phrase for OnDisk pt
2013-08-16 12:34:31 +01:00
Hieu Hoang
55920d5bca
Merge ../mosesdecoder into hieu_opt_input
2013-08-16 12:11:13 +01:00
Hieu Hoang
8363f4afa9
Merge branch 'hieu_opt_input' of github.com:hieuhoang/mosesdecoder into hieu_opt_input
2013-08-16 12:10:36 +01:00
Hieu Hoang
a8c0c0ecde
Merge branch 'master' of github.com:hieuhoang/mosesdecoder
2013-08-16 12:06:54 +01:00
Hieu Hoang
21657b6243
delete duplicate parameter
2013-08-16 12:02:48 +01:00
Hieu Hoang
55bd87d38c
Merge pull request #43 from jgwinnup/master
...
Added option to output unknown words with prefix 'UNK'
2013-08-15 14:20:48 -07:00
Hieu Hoang
9f92642e59
beautify
2013-08-15 21:14:04 +01:00
Hieu Hoang
49e36cebc2
minor renaming
2013-08-15 20:57:04 +01:00
Hieu Hoang
aa8b8cdc07
move caching code to PhraseDictionary. Available to all phrase tables
2013-08-15 20:50:22 +01:00
Hieu Hoang
841ce108a5
add phrase table caching
2013-08-15 20:20:44 +01:00
Jeremy Gwinnup
091bed03af
Added option to output unknown words with prefix 'UNK'
2013-08-15 11:30:08 -04:00
phikoehn
c002a81c96
fixed logic errors
2013-08-15 13:36:56 +01:00
phikoehn
b368085609
xml constraint
2013-08-15 11:46:45 +01:00
Hieu Hoang
abfe02f154
refactor input score handling to use Evaluate(inputtype, inputpath). Not a placeholder factor anymore
2013-08-14 16:53:06 +01:00
Hieu Hoang
2b030339e0
Merge /home/hieu/workspace/github/mosesdecoder into hieu_opt_input
2013-08-14 12:38:26 +01:00
Hieu Hoang
8419a3af35
beautify
2013-08-14 12:37:22 +01:00