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:
authorzens <zens@1f5c12ca-751b-0410-a591-d2e778427230>2006-07-24 22:33:08 +0400
committerzens <zens@1f5c12ca-751b-0410-a591-d2e778427230>2006-07-24 22:33:08 +0400
commit422418008ea4ce09774460e835402b029ec1825b (patch)
tree96e96980f42a97f2aa7143ae3f440ce68c8060f8 /moses/src/Parameter.h
parent90124bd40335a9e19ebd7a4eb563857d01fc1c3b (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-xmoses/src/Parameter.h3
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 &paramSwitch, int argc, char* argv[]);
void OverwriteParam(const std::string &paramSwitch, const std::string &paramName, int argc, char* argv[]);
bool ReadConfigFile( std::string filePath );
- bool FilesExist(const std::string &paramName, size_t tokenizeIndex);
+ bool FilesExist(const std::string &paramName, 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];
}
+
};