Rico Sennrich
b1b70e802d
use read-write lock in multimodel
2013-06-12 15:25:53 +02:00
Rico Sennrich
9e9cbbc13b
refactoring multimodel code out of StaticData; locking.
2013-06-12 14:47:40 +02:00
Hieu Hoang
5becd868a9
delete misc unused variables from PhraseDictionary
2013-06-11 16:31:43 +01:00
Hieu Hoang
61e2b7a24f
refactor parsing of feature functiona args
2013-06-11 01:46:04 +01:00
Hieu Hoang
b4ad093334
refactor parsing of feature functiona args
2013-06-11 00:05:12 +01:00
Hieu Hoang
efa42b451c
refactor parsing of feature functiona args
2013-06-10 21:24:31 +01:00
Hieu Hoang
abe6bb7c22
refactor parsing of feature functiona args
2013-06-10 18:11:55 +01:00
Hieu Hoang
96d116dba0
refactor parsing of feature functiona args
2013-06-10 16:29:07 +01:00
Hieu Hoang
e291c5f4a4
implement feature override as a run-time override of specific argument of a feature function. Only implemented table-limit for far
2013-06-07 17:32:01 +01:00
Hieu Hoang
23fba08ded
minor
2013-06-06 21:49:38 +01:00
Hieu Hoang
df4b8e5828
m_numInputScores deleted from PhraseDictionary.
2013-06-06 18:54:44 +01:00
Ulrich Germann
7ecfb88a29
Alpha version of phrase tables based on dynamic suffix arrays.
2013-06-05 10:46:42 +01:00
Hieu Hoang
21ff6d4831
beautify
2013-06-03 12:33:18 +01:00
Ulrich Germann
570b7c6aa5
Fixed bug in ComparePosition::operator()(...).
2013-06-03 12:22:05 +01:00
Hieu Hoang
3b76143072
refactor loading in class PhraseDictionaryFuzzyMatch
2013-05-31 23:39:19 +01:00
Hieu Hoang
eaf53769ad
consistent Load() for all feature functions. Can be used not to load if doing --show-weights
2013-05-31 20:21:02 +01:00
Hieu Hoang
173cfffaac
Reapply Abby Levenberg's log change @4b4aba3
2013-05-31 15:06:36 +01:00
Hieu Hoang
0db5504629
port PhraseDictionaryDynSuffixArray to new ini format. Scores aren't the same. Probably something to do with Abby Levenberg's log change
2013-05-31 15:02:34 +01:00
Hieu Hoang
65d2d68bc5
beautify
2013-05-31 00:00:21 +01:00
Hieu Hoang
117eb76b0a
figure out which feature function to apply at which decode step. Book-keeping
2013-05-30 18:34:10 +01:00
Hieu Hoang
6249432407
beautify
2013-05-29 18:16:15 +01:00
Hieu Hoang
66afd6611b
parse scores correctly. Assume dense features, always in the same order
2013-05-28 15:54:11 +01:00
Hieu Hoang
ed220e91a9
debug PhraseDictionaryALSuffixArray for Wilker. Sparse feature score to do
2013-05-28 15:38:36 +01:00
Hieu Hoang
0580e2bd11
delete create-ini
2013-05-28 13:11:37 +01:00
Hieu Hoang
036ea4ee29
delete sourcePhrase variable in TargetPhrase class
2013-05-28 11:38:18 +01:00
Hieu Hoang
ae82d02a05
delete sourcePhrase variable in TargetPhrase class
2013-05-28 00:41:25 +01:00
Hieu Hoang
e8dadb58ce
split classes in DummyScoreProducers into separate files
2013-05-25 00:57:37 +01:00
Hieu Hoang
a80d838b0f
move feature functions into moses/FF
2013-05-24 18:02:49 +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
d273812231
delete enum StatelessFeatureType. Features can be multiple types at once. Just overload the Evaluate() function you need
2013-05-24 16:04:38 +01:00
Hieu Hoang
ca8007be12
leak
2013-05-23 15:29:25 +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
6480805635
technical memory leak due to not cleaning up StaticData. Doesn't make much difference, but annoying messages from valgrind
2013-05-22 17:32:06 +01:00
Hieu Hoang
bfe321a068
change reference to sourceLHS to pointer, it can be NULL for phrase based. TODO - sourceLHS isn't being stored in the trie
2013-05-22 15:00:32 +01:00
Hieu Hoang
541bf99b9b
Make Phrase::CreateFromString() more efficient
2013-05-22 14:41:28 +01:00
Hieu Hoang
bce3b36170
Make Phrase::CreateFromString() more efficient
2013-05-22 12:28:32 +01:00
Hieu Hoang
112bcdc925
Make Phrase::CreateFromString() more efficient
2013-05-22 12:03:00 +01:00
Hieu Hoang
f4a75b30f7
Make lhsTarget a pointer
2013-05-22 11:22:17 +01:00
Ulrich Germann
7996378ffb
Made InitDictionary() a pure virtual function to force explicit initialization in derived classes.
2013-05-21 19:06:39 +01:00
Hieu Hoang
2f38746f6a
delete references to translation feature weights. Everything is done automatically via Evaluate() for each feature function
2013-05-21 14:00:28 +01:00
Hieu Hoang
7dc177514d
delete references to WordPenaltyProducer
2013-05-21 13:50:18 +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
f4cf5f152b
delete references to LMList
2013-05-21 13:00:26 +01:00
Hieu Hoang
42ddc084b4
delete references to LMList
2013-05-21 12:47:26 +01:00
Hieu Hoang
70873c3b8d
delete references to LMList
2013-05-21 12:33:51 +01:00
Hieu Hoang
ff880ec6f1
delete references to LMList
2013-05-21 12:27:13 +01:00
Hieu Hoang
031cbdf7cd
move parsing of input-factor and output-factor into class DecodeFeature. Fixed bug in parsing this in class GenerationDictionary, which only picked up the 1st number
2013-05-20 19:57:46 +01:00
Hieu Hoang
3e7f412ae9
make InitDictionary() an abstract method, at Uli's suggestion. Make sure people implements it
2013-05-20 17:01:19 +01:00
Rico Sennrich
5fa1752018
multimodel(counts): allow different features to have separate interpolation weights.
2013-05-16 14:11:03 +02:00
Rico Sennrich
876de13eba
restore support for multimodel(counts) in moses server:
...
set sentence-level weights and optimize weights
2013-05-16 13:40:17 +02:00
Hieu Hoang
3876c47d1d
port PhraseDictionaryMultiModelCounts to new format. Runs but doesn't pass regression test
2013-05-15 15:52:08 +01:00
Hieu Hoang
b2488f83c3
port PhraseDictionaryMultiModelCounts to new format. Runs but doesn't pass regression test
2013-05-15 14:34:31 +01:00
Hieu Hoang
81ffe84dbc
port PhraseDictionaryMultiModelCounts to new format. Runs but doesn't pass regression test
2013-05-14 17:35:22 +01:00
Hieu Hoang
66ad7c3c18
port PhraseDictionaryMultiModelCounts to new format
2013-05-14 15:16:09 +01:00
Hieu Hoang
0c3fa9942b
port PhraseDictionaryMultiModelCounts to new format
2013-05-14 13:11:55 +01:00
Hieu Hoang
34df0011a9
change PhraseDictionaryTreeAdaptor --> PhraseDictionaryBinary
2013-05-14 12:19:55 +01:00
Hieu Hoang
d5ebe61791
port PhraseDictionaryMultiModelCount to new format
2013-05-13 18:40:12 +01:00
Hieu Hoang
b8efef6667
port PhraseDictionaryMultiModelCount to new format
2013-05-13 18:39:06 +01:00
Hieu Hoang
dcafe74892
port PhraseDictionaryMultiModelCount to new format
2013-05-13 17:20:14 +01:00
Hieu Hoang
499487fb98
get rid of TargetPhrase::SetScore. Expose ScorerBreakdown object so they can be set directly
2013-05-13 15:36:09 +01:00
Hieu Hoang
a8cf5c3472
port PhraseDictionaryMultiModel to new format
2013-05-13 13:19:25 +01:00
Hieu Hoang
3a10197edb
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2013-05-13 10:37:08 +01:00
Hieu Hoang
981351758a
delete class TranslationSystem
2013-05-11 14:13:26 +01:00
Hieu Hoang
72c9e7813d
port PhraseDictionaryMultiModel to new format
2013-05-10 18:01:52 +01:00
Hieu Hoang
cb8b303f10
changes for cruise control
2013-05-10 15:51:07 +01:00
Hieu Hoang
7e398d3bca
port PhraseDictionaryMultiModel to new format
2013-05-10 15:33:46 +01:00
Hieu Hoang
805c5c5be9
port PhraseDictionaryMultiModel to new format
2013-05-10 15:13:03 +01:00
Hieu Hoang
f0bf197695
port PhraseDictionaryMultiModel to new format
2013-05-10 14:48:06 +01:00
Hieu Hoang
ed7ab8146f
port PhraseDictionaryMultiModel to new format
2013-05-10 12:30:01 +01:00
Hieu Hoang
187e09a5d2
delete last TargetPhrase::SetScore()
2013-05-02 18:36:34 +01:00
Hieu Hoang
fdcfe95574
start framework for evaluating target phrase score
2013-05-02 17:19:45 +01:00
Hieu Hoang
46b70fe89a
start framework for evaluating target phrase score
2013-05-02 17:07:03 +01:00
Hieu Hoang
47465f8afb
start framework for evaluating target phrase score
2013-05-02 14:55:26 +01:00
Hieu Hoang
ce80626c9a
remove SparsePhraseDictionaryFeature
2013-05-01 13:17:09 +01:00
Hieu Hoang
2b93917a80
delete argument report-sparse-features
2013-05-01 12:40:59 +01:00
Hieu Hoang
3e64d4b341
enum StatelessFeatureType
2013-04-30 19:27:49 +01:00
Hieu Hoang
26a4aa8d18
enable sparse feature in phrase table
2013-04-30 17:27:35 +01:00
Hieu Hoang
ce95c117f6
merge
2013-04-29 18:46:48 +01:00
Hieu Hoang
83494418e2
delete PhraseDictionaryMemory. Fix word penalty in compact phrase table
2013-04-26 15:55:32 +01:00
Hieu Hoang
b448c6285a
make scfg work with factored input. Strip factors from source that are not part of phrase-table input factors
2013-04-26 12:20:49 +01:00
Kenneth Heafield
2437ed441d
Accept cmph with lib64 too
2013-04-25 21:50:05 +01:00
Hieu Hoang
4b4aba3d81
log probabilities. /Abby
2013-04-25 16:54:45 +01:00
Rico Sennrich
908c006e32
online combination of multiple phrase tables
...
- creates a virtual phrase table at decoding time based on a vector of component models and a combination algorithm
- linear interpolation or instance weighting
- two possible component model types supported so far: 0 (in-memory) or 12 (compact)
- weights can be set in config, and overriden on a sentence-level through mosesserver API
- online optimization (perplexity minimization) using dlib and xmlrpc-c call
2013-04-22 13:21:59 +02:00
Barry Haddow
9d42c7f6f7
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2013-04-12 16:07:26 +01:00
Hieu Hoang
e1dc4131f6
merge
2013-03-27 08:45:16 +00:00
Hieu Hoang
f8afc73569
get rid of locking altogether. PDTimp already has separated source & target vocab variable. Use those instead
2013-03-26 14:05:50 +00:00
Hieu Hoang
e2b18c5337
no leak message due to static variable in binary phrase table. Doesn't actually solve the mem leak though
2013-03-26 13:29:59 +00:00
Hieu Hoang
51a59b881e
move RedVoc() as method in PDTimp class. Ready for getting rid of static variable
2013-03-26 12:45:27 +00:00
Hieu Hoang
9c91eda308
Merge branch 'weight-new' of github.com:hieuhoang/mosesdecoder into weight-new
2013-03-16 23:25:40 +00:00
Hieu Hoang
2c26ad133e
error parsing factors. And eclipse project files
2013-03-16 16:41:38 +00:00
Hieu Hoang
db049e0fa0
Merge github.com:moses-smt/mosesdecoder into weight-new
2013-03-16 13:35:05 +00:00
Hieu Hoang
9f4824b2be
single threaded compile error
2013-03-16 13:25:31 +00:00
Hieu Hoang
8523a27768
fix single-threaded
2013-03-15 20:38:26 +00:00
Hieu Hoang
51d34f2f96
delete Phrase::CreateFromStringNewFormat()
2013-03-08 22:04:28 +00:00
Hieu Hoang
9298402dcf
merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat()
2013-03-08 19:10:28 +00:00
Hieu Hoang
d015ef2e62
merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat()
2013-03-08 17:56:39 +00:00
Hieu Hoang
d0e2e417aa
merging PhraseDictionaryMemory and PhraseDictionarySCFG. target phrase score not the same
2013-03-08 16:33:36 +00:00