public void Memorizar(List <string> tokensList, List <int> qtdTokens, byte sentimento) { using (SqlConnection con = new SqlConnection(cst)) { string select = "SELECT * FROM tb_memory;"; using (SqlCommand cmd = new SqlCommand(select, con)) { con.Open(); List <string> memoriasNovas = ReturnNewMemoryes(cmd, tokensList, qtdTokens, sentimento); InsertNewMemoryes(con, memoriasNovas, qtdTokens, sentimento); NaiveBayes nb = new NaiveBayes(); nb.SetProbabilidades(tokensList, cst); } } }