public TrEnIndexing() { db = new dbtools(); enStopWords = File.ReadAllLines("..\\..\\data\\enStopWords.txt").ToList(); trStopWords = File.ReadAllLines("..\\..\\data\\trStopWordsClean.txt").ToList(); getVocabsFromData(); }
public comatrix() { db = new dbtools(); enVocab = new Dictionary<string, string>(); trVocab = new Dictionary<string, string>(); mainTransMatrix = new Dictionary<string, Dictionary<string, double>>(); getVocabsFromData(); }
private void Form1_Load(object sender, EventArgs e) { db = new dbtools(); subtitle = new subdownload(); //string trlemmas = lm.getLemmasTR("Ben eve gidiyorum"); //string enlemmas = lm.getLemmasEn("I must give a desicion"); }
private void button2_Click(object sender, EventArgs e) { dbtools db = new dbtools(); string forDictFile = "..\\..\\data\\forDict\\distict3.txt"; foreach (var item in File.ReadAllLines(forDictFile)) { db.onlineDictInsert(item); } }