public NLPTool(string SSModel, string TKModel, string POSModel, string CKModel, string PersonModel, string OrgModel, string LocModel, string DateModel, string MoneyModel, string PercentageModel, string TimeModel, string ParseModel, string MaltParseModel, string LemmatizeDict) { nlp_models = new NLPToolBox(SSModel, TKModel, POSModel, CKModel, PersonModel, OrgModel, LocModel, DateModel, MoneyModel, PercentageModel, TimeModel, ParseModel, MaltParseModel); java.io.InputStream input_stream = new java.io.FileInputStream(LemmatizeDict); lemmatizer = new SimpleLemmatizer(input_stream); input_stream.close(); }
public NLPArsenal(string[] model_paths) { player = new NLPToolBox(model_paths[0], model_paths[1], model_paths[2], model_paths[3], model_paths[4], model_paths[5], model_paths[6], model_paths[7], model_paths[8], model_paths[9], model_paths[10], model_paths[11], model_paths[12].Substring(0, model_paths[12].Length - 4)); }