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:
authorDavid Madl <git@abanbytes.eu>2015-11-12 18:14:42 +0300
committerDavid Madl <git@abanbytes.eu>2015-11-17 19:15:13 +0300
commite5a8438149e73c30840ef41c5a75a4288c75846b (patch)
treef39cb4a6b38adc8d96737157086a8dcb09d95277 /moses/Phrase.h
parente36fb96557d0079e88eef4fc2f38147ff9455b0c (diff)
document @param lhs in Phrase::CreateFromString()
Diffstat (limited to 'moses/Phrase.h')
-rw-r--r--moses/Phrase.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/moses/Phrase.h b/moses/Phrase.h
index 6a3434420..460432e84 100644
--- a/moses/Phrase.h
+++ b/moses/Phrase.h
@@ -97,16 +97,17 @@ public:
/** destructor */
virtual ~Phrase();
- /** Fills phrase with words from format string, typically from phrase table or sentence input
- * \param factorOrder factor types of each element in 2D string vector
- * \param phraseString formatted input string to parse
- * \param factorDelimiter delimiter between factors.
+ /**
+ * Fills phrase with words from format string, typically from phrase table or sentence input
+ *
+ * \param factorOrder factor types of each element in 2D string vector
+ * \param phraseString formatted input string to parse
+ * \param lhs returns the non-terminal Word for the left-hand side of an SCFG rule, may be NULL for phrase-based
*/
- void CreateFromString(FactorDirection direction
- , const std::vector<FactorType> &factorOrder
- , const StringPiece &phraseString
- // , const StringPiece &factorDelimiter // never used [UG]
- , Word **lhs);
+ void CreateFromString(FactorDirection direction,
+ const std::vector<FactorType> &factorOrder,
+ const StringPiece &phraseString,
+ Word **lhs);
/** copy factors from the other phrase to this phrase.
IsCompatible() must be run beforehand to ensure incompatible factors aren't overwritten