Kenneth Heafield
8530d0548c
Don't segfault when complaining that IRSTLM isn't multithreaded
2012-02-07 10:21:14 -05:00
Phil Williams
3ed71773f2
moses_chart: reduce memory usage by creating one ChartTranslationOptionList
...
per sentence instead of one per cell, and reduce object churn by recycling
ChartTranslationOption objects.
2012-02-06 23:54:01 +00:00
Phil Williams
f27da4f2b6
moses_chart: rename ChartTranslationOptionList's Sort() function
...
to ApplyThreshold() and remove the sorting bit since the options
no longer need to be ordered.
2012-02-06 22:39:41 +00:00
Phil Williams
b30a9f84ed
moses_chart: simplify ChartTranslationOptionCollection a bit.
2012-02-06 16:39:30 +00:00
Phil Williams
68944b5880
moses_chart: remove unused adhereTableLimit parameter from
...
ChartTranslationOptionList::Add().
2012-02-06 16:00:57 +00:00
Christian Buck
7752ebb658
gcc 4.6.0 compiler error already fixed by Hieu
...
rollback of ef7f19f498
already covered in ebe2fb266d
2012-02-04 17:32:05 +00:00
Christian Buck
4874d3d780
Merge branch 'master' of git://github.com/moses-smt/mosesdecoder
2012-02-03 18:17:03 +00:00
Christian Buck
01bd615e9d
less debug output in GlobalLexicalModel
2012-02-03 17:40:59 +00:00
Christian Buck
312845b73f
Cleanup
2012-02-03 17:02:58 +00:00
Christian Buck
33e72473f0
added thread-safe cache to GlobalLexiconModel
2012-02-03 16:39:12 +00:00
Hieu Hoang
ec550f4dfa
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2012-02-03 16:42:01 +07:00
Hieu Hoang
81ba624a05
compile error gcc 4.6.0
2012-02-03 16:40:57 +07:00
Hieu Hoang
5284d0b819
Merge pull request #9 from miska/master
...
Few compilation fixes
2012-02-03 01:25:33 -08:00
Christian Buck
f2046da6aa
fixed gcc4.6 error (size_t does not name a type)
2012-02-03 00:22:57 +00:00
Tetsuo Kiso
dc659479be
Add explicit to the ThreadPool constructor.
2012-02-01 15:33:26 +09:00
Michal Hrusecky
60354d2d5f
Fix library dependencies
2012-01-31 17:00:11 +01:00
Michal Hrusecky
de7cf9bdbf
Using __typeof__ instead of typeof
...
__typeof__ is safer than typeof as typeof don't have to be defined when
included from ISO C.
2012-01-31 17:00:06 +01:00
Michal Hrusecky
52eb015902
Distribution friendly src/LM/Jamfile
...
Adding lib64 to the library search path and $prefix/include/$name to
include paths.
2012-01-31 17:00:04 +01:00
Michal Hrusecky
c4397c1491
Use make_pair without type
...
Replacing typed make_pair with non-typed version to fix compilation
issues.
2012-01-31 17:00:01 +01:00
Phil Williams
b2688f3045
moses_chart: add an alternative parser that implements the algorithm outlined
...
in Hopkins and Langmead (2010). This allows parsing of scope-3 grammars with
cubic space and time requirements. Enabled using the new "parsing-algorithm"
parameter (supports in-memory rule tables only).
2012-01-26 11:38:40 +00:00
Phil Williams
9feecb80de
Move some more source files into moses/src/RuleTable
2012-01-26 10:45:20 +00:00
Phil Williams
ec9ea87e4d
Create a subdirectory in moses/src for the main CYK+ source files.
2012-01-25 23:14:36 +00:00
Phil Williams
72baeab59e
moses_chart: rule lookup now produces a vector of stack pointers (and a
...
TargetPhraseCollection pointer) instead of a CYK+ dotted rule.
2012-01-25 12:26:28 +00:00
Phil Williams
589a6c9f8c
Add RuleTableTrie, an abstract base class of PhraseDictionarySCFG.
2012-01-23 20:41:49 +00:00
Phil Williams
5ea6d510c6
Create a subdirectory in moses/src for rule table source files.
2012-01-23 16:05:32 +00:00
Phil Williams
e6a5bd9c20
Use boost::unordered_map for faster lookup in ChartCell and ChartCellLabelSet.
2012-01-23 14:19:19 +00:00
Phil Williams
360113ad6b
Remove obsolete #if HAVE_CONFIG_H directives.
2012-01-23 10:37:35 +00:00
Kenneth Heafield
cbf1e1e2bb
Fix GetScoreProducerDescription
2012-01-13 10:07:30 -05:00
Hieu Hoang
98fc6d9917
xcode
2012-01-08 14:36:54 +07:00
Hieu Hoang
5877046b9c
abort if threading with irst
2011-12-30 17:36:32 +07:00
Kenneth Heafield
7cc6947e55
Attempt to fix Stephan Walter's bug report
2011-12-20 23:12:35 -05:00
Kenneth Heafield
7f26ac50fb
Fix failed to write output file ... lm.log
2011-12-05 08:56:44 +00:00
Kenneth Heafield
f25aec92f8
Write lm file after successful build completion
2011-12-02 10:21:41 +00:00
Kenneth Heafield
49591ee1e7
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2011-12-02 10:21:14 +00:00
Kenneth Heafield
eb72ad8960
Kludge to rebuild parts if language model options change
2011-12-02 10:02:21 +00:00
Hieu Hoang
39db162cc0
move vs and xcode project files into separate contrib folder
2011-12-02 08:33:39 +07:00
Hieu Hoang
a2c66a0bff
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2011-12-02 08:28:15 +07:00
Kenneth Heafield
a0d79781e5
Merge CreateOnDisk into OnDiskPt, pop out of src
2011-12-01 18:26:05 +00:00
Kenneth Heafield
ececab6e27
Fine, go back to allowing multi-threaded builds to link against IRSTLM
2011-12-01 17:52:11 +00:00
Hieu Hoang
f64b8f0e34
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2011-12-02 00:42:06 +07:00
Kenneth Heafield
c53453b266
No more autotools (with bhaddow in the room)
2011-12-01 17:17:28 +00:00
Kenneth Heafield
10c1e9ec2e
More explaination about <s> error
2011-12-01 13:21:55 +00:00
Kenneth Heafield
dd80a7956f
Force single-threaded build if --with-irstlm
2011-11-30 12:17:47 +00:00
Hieu Hoang
9de12cc819
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2011-11-29 19:49:52 +07:00
Kenneth Heafield
f564876e5e
Avoid naming conflict with glibc's libutil
2011-11-28 09:19:45 +00:00
Kenneth Heafield
5a841e6619
Garbage collect uncalled AddEquivPhrase function
2011-11-26 14:09:27 -05:00
Hieu Hoang
d2cdba582b
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2011-11-25 23:58:54 +07:00
Kenneth Heafield
79eecac809
Actually, moses depends on OnDiskPt, not the other way around.
2011-11-25 08:33:16 -05:00
Hieu Hoang
4e94c9fe1a
xcode
2011-11-24 08:30:51 +07:00
Hieu Hoang
aec299c1c9
compile error with threads
2011-11-24 00:48:32 +07:00