public BusinessModel(String file) { try { predictor = new WordPredictor(file); } catch (FileNotFoundException e) { Console.WriteLine("File not found" + e.Data); } }
public BusinessModel(String file) { try { predictor = new WordPredictor(file); wordsInSentence = new List <string>(); currentWordList = new List <string>(); } catch (FileNotFoundException e) { Console.WriteLine("File not found" + e.Data); } }