diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-04-27 21:41:47 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-04-27 21:41:47 +0300 |
commit | 0ee4feecb5d4deae35ac217d82bd3c57722619e4 (patch) | |
tree | 6a3f365d34077e2d4e45e4f1dcea3e17c18f119a /moses/ChartCellCollection.h | |
parent | 315610c02aa9455bbaf1cb3540313db5a2100b7a (diff) |
add extra parser argument to ChartCellCollection to support FF::EvaluateGivenAllOtherTransOpts()
Diffstat (limited to 'moses/ChartCellCollection.h')
-rw-r--r-- | moses/ChartCellCollection.h | 7 |
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) { |