void get() { resultFile = ParamGetString("resultFile"); testFile = ParamGetString("testFile"); priorFile = ParamGetString("priorFile"); smoothingParam = ParamGetDouble("smoothingParam", 0.5); dirParamNN = ParamGetDouble("dirParamNN", 100); splitLimit = ParamGetInt("splitLimit", 5000); minLongitudeStep = ParamGetDouble("minLongitudeStep", 0.01); minLatitudeStep = ParamGetDouble("minLatitudeStep", 0.01); std::string s = ParamGetString("excludeTestUsers","false"); excludeTestUsers = (s.compare("false")==0) ? false : true; geoTermThreshold = ParamGetDouble("geoTermThreshold",-1.0); generalUseTermFilter = ParamGetInt("generalUseTermFilter",-1); defaultLatitude = ParamGetDouble("defaultLatitude", 0.0); defaultLongitude = ParamGetDouble("defaultLongitude", 0.0); fields = ParamGetString("fields"); alphas = ParamGetString("alphas"); geoTermThresholdFile = ParamGetString("geoTermThresholdFile"); takenInMonth = ParamGetInt("takenInMonth",-1); modulosOp = ParamGetInt("modulosOp",1);//if fewer training docs should be used, modulosOp>1 termFile = ParamGetString("termFile",""); }
void get() { resultFile = ParamGetString("resultFile"); splitLimit = ParamGetInt("splitLimit", 5000); minLongitudeStep = ParamGetDouble("minLongitudeStep", 0.01); minLatitudeStep = ParamGetDouble("minLatitudeStep", 0.01); minAccuracy = ParamGetInt("minAccuracy", 11); geoTermThreshold = ParamGetDouble("geoTermThreshold",-1.0); generalUseTermFilter = ParamGetInt("generalUseTermFilter",-1); }
void get() { index = ParamGetString("index"); indexType = ParamGetString("indexType"); memory = ParamGetInt("memory", 96000000); stopwords = ParamGetString("stopwords"); acronyms = ParamGetString("acronyms"); docFormat = ParamGetString("docFormat"); dataFiles = ParamGetString("dataFiles"); position = ParamGetInt("position", 1); stemmer = ParamGetString("stemmer"); countStopWords = (ParamGetString("countStopWords", "false") == "true"); }
void get() { // the string with quotes are the actual variable names to use for specifying the parameters databaseIndex = ParamGetString("index"); queryStream = ParamGetString("query"); resultFile = ParamGetString("result","res"); weightScheme = ParamGetString("weightScheme","RawTF"); resultCount = ParamGetInt("resultCount", 100); }