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-01-14 14:07:42 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-01-14 14:07:42 +0300
commit05ead45e71916c5763c5c4b6375e2ca6838f3995 (patch)
treec279bd4aacfb31758720ffbaf5aaf62022574a52 /moses/TabbedSentence.h
parent91cb549ccf09fc33122f3d531f47c38ad0e99b3d (diff)
beautify
Diffstat (limited to 'moses/TabbedSentence.h')
-rw-r--r--moses/TabbedSentence.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/moses/TabbedSentence.h b/moses/TabbedSentence.h
index 90c11cc39..ffd28a877 100644
--- a/moses/TabbedSentence.h
+++ b/moses/TabbedSentence.h
@@ -41,12 +41,12 @@ namespace Moses
*
* In theory a column can contain anything, even text-serialized parse trees or
* classifier features as long it can be represented as text and does not contain
- * tab characters.
- *
+ * tab characters.
+ *
*/
typedef std::vector<std::string> TabbedColumns;
-
+
class TabbedSentence : public Sentence
{
@@ -61,25 +61,25 @@ public:
// Splits off the first tab-separated column and passes it to
// Sentence::CreateFromString(...), the remaining columns are stored in
// m_columns .
-
+
virtual void CreateFromString(const std::vector<FactorType> &factorOrder
- , const std::string &tabbedString);
-
+ , const std::string &tabbedString);
+
virtual int Read(std::istream& in,const std::vector<FactorType>& factorOrder);
const TabbedColumns& GetColumns() const {
return m_columns;
}
-
+
const std::string& GetColumn(size_t i) const {
UTIL_THROW_IF2(m_columns.size() <= i,
- "There is no column with index " << i);
+ "There is no column with index " << i);
return m_columns[i];
}
private:
TabbedColumns m_columns;
-
+
};