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:
authorMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2017-03-24 20:24:58 +0300
committerMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2017-03-24 20:24:58 +0300
commit276cfaa08861701eaeabf6c7ff180a9b1c8b8ec7 (patch)
treec5783045d3b6a586677b106efd2bf8cce56f40ac /src/data/vocab.h
parent54b886b7d03656e6e7758840544ee2ec8c205ad7 (diff)
better vocab handling
Diffstat (limited to 'src/data/vocab.h')
-rw-r--r--src/data/vocab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/vocab.h b/src/data/vocab.h
index e5a3f8f3..91b2a7cd 100644
--- a/src/data/vocab.h
+++ b/src/data/vocab.h
@@ -22,7 +22,7 @@ class Vocab {
size_t size() const;
- void loadOrCreate(const std::string& textPath, int max=0);
+ void loadOrCreate(const std::string& vocabPath, const std::string& textPath, int max=0);
void load(const std::string& vocabPath, int max=0);
void create(const std::string& vocabPath, int max, const std::string& trainPath);