public DecisionTree(string fileName, out List <Entry> testData) { List <Entry> entryList = FileToListConverter.FileToList(fileName, out testData); List <string> usedWords = new List <string>(); Tree = new Node(entryList, 0, entryList.Count(), usedWords); }
public SpamHamEnum ValidateSentence(string sentence) { return(ValidateSentence(FileToListConverter.SentenceToEntry(sentence))); }