diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2008-02-09 14:37:41 +0300 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2008-02-09 14:37:41 +0300 |
commit | 2f091ce8f7eed08095b59b5746b8a42c21200458 (patch) | |
tree | 6c0da57b2f163c0e2088c3b7ba8dc01e5883b64c /moses/src/XmlOption.h | |
parent | fd60fe93b9e1bb2f210fbea861d78d7a84b37624 (diff) |
roll forwards james smith's changes.
seg faults seen might have been caused by unknown compiler problem,
or FC5/FC6 lib incompatibility on DICE machines. what a joke!
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1554 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses/src/XmlOption.h')
-rw-r--r-- | moses/src/XmlOption.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/moses/src/XmlOption.h b/moses/src/XmlOption.h index e211a6398..dc9efe650 100644 --- a/moses/src/XmlOption.h +++ b/moses/src/XmlOption.h @@ -2,6 +2,7 @@ #include <vector> #include <string> +#include "InputType.h" /** This struct is used for storing XML force translation data for a given range in the sentence */ @@ -18,5 +19,6 @@ struct XmlOption { }; -std::vector<XmlOption> ProcessAndStripXMLTags(std::string& line); +std::vector<TranslationOption*> ProcessAndStripXMLTags(std::string& line, const InputType &source); + |