Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-04-27 21:41:47 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-04-27 21:41:47 +0300
commit0ee4feecb5d4deae35ac217d82bd3c57722619e4 (patch)
tree6a3f365d34077e2d4e45e4f1dcea3e17c18f119a /moses/ChartCellCollection.h
parent315610c02aa9455bbaf1cb3540313db5a2100b7a (diff)
add extra parser argument to ChartCellCollection to support FF::EvaluateGivenAllOtherTransOpts()
Diffstat (limited to 'moses/ChartCellCollection.h')
-rw-r--r--moses/ChartCellCollection.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/moses/ChartCellCollection.h b/moses/ChartCellCollection.h
index 1edeb4450..5fdc98f58 100644
--- a/moses/ChartCellCollection.h
+++ b/moses/ChartCellCollection.h
@@ -30,12 +30,15 @@ namespace Moses
{
class InputType;
class ChartManager;
+class ChartParser;
class ChartCellCollectionBase
{
public:
- template <class Factory> ChartCellCollectionBase(const InputType &input, const Factory &factory) :
- m_cells(input.GetSize()) {
+ template <class Factory> ChartCellCollectionBase(const InputType &input,
+ const Factory &factory,
+ const ChartParser &parser)
+ :m_cells(input.GetSize()) {
size_t size = input.GetSize();
for (size_t startPos = 0; startPos < size; ++startPos) {