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:
Diffstat (limited to 'moses/src/StaticData.h')
-rw-r--r--moses/src/StaticData.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/moses/src/StaticData.h b/moses/src/StaticData.h
index b1d4a90a6..949426b98 100644
--- a/moses/src/StaticData.h
+++ b/moses/src/StaticData.h
@@ -158,6 +158,7 @@ protected:
size_t m_maxNumFactors; //! max number of factors on both source and target sides
XmlInputType m_xmlInputType; //! method for handling sentence XML input
+ std::pair<std::string,std::string> m_xmlBrackets; //! strings to use as XML tags' opening and closing brackets. Default are "<" and ">"
bool m_mbr; //! use MBR decoder
bool m_useLatticeMBR; //! use MBR decoder
@@ -560,6 +561,10 @@ public:
return m_xmlInputType;
}
+ std::pair<std::string,std::string> GetXmlBrackets() const {
+ return m_xmlBrackets;
+ }
+
bool GetUseTransOptCache() const {
return m_useTransOptCache;
}