Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/text_input.h')
-rw-r--r--src/data/text_input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/data/text_input.h b/src/data/text_input.h
index db99ef6a..b08a4fdc 100644
--- a/src/data/text_input.h
+++ b/src/data/text_input.h
@@ -33,6 +33,9 @@ private:
size_t pos_{0};
+ size_t maxLength_{0};
+ bool maxLengthCrop_{false};
+
public:
typedef SentenceTuple Sample;