diff options
author | zens <zens@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-07-24 22:33:08 +0400 |
---|---|---|
committer | zens <zens@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-07-24 22:33:08 +0400 |
commit | 422418008ea4ce09774460e835402b029ec1825b (patch) | |
tree | 96e96980f42a97f2aa7143ae3f440ce68c8060f8 /moses/src/Parameter.h | |
parent | 90124bd40335a9e19ebd7a4eb563857d01fc1c3b (diff) |
- confusion net:
* more robust read functions
* correct treatment of epsilons
* code cleanup
- parameter: fixed check for binary phrase table
- staticData: do not read input phrases in case of binary phrase table
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@260 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses/src/Parameter.h')
-rwxr-xr-x | moses/src/Parameter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/src/Parameter.h b/moses/src/Parameter.h index a8211b3bc..a43e52c03 100755 --- a/moses/src/Parameter.h +++ b/moses/src/Parameter.h @@ -41,7 +41,7 @@ protected: std::string FindParam(const std::string ¶mSwitch, int argc, char* argv[]); void OverwriteParam(const std::string ¶mSwitch, const std::string ¶mName, int argc, char* argv[]); bool ReadConfigFile( std::string filePath ); - bool FilesExist(const std::string ¶mName, size_t tokenizeIndex); + bool FilesExist(const std::string ¶mName, size_t tokenizeIndex,std::vector<std::string> const& fileExtension=std::vector<std::string>(1,"")); bool Validate(); @@ -59,5 +59,6 @@ public: { return m_setting[paramName]; } + }; |