public TrEnIndexing()
 {
     db = new dbtools();
     enStopWords = File.ReadAllLines("..\\..\\data\\enStopWords.txt").ToList();
     trStopWords = File.ReadAllLines("..\\..\\data\\trStopWordsClean.txt").ToList();
     getVocabsFromData();
 }
Example #2
0
 public comatrix()
 {
     db = new dbtools();
     enVocab = new Dictionary<string, string>();
     trVocab = new Dictionary<string, string>();
     mainTransMatrix = new Dictionary<string, Dictionary<string, double>>();
     getVocabsFromData();
 }
Example #3
0
        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");
        }
Example #4
0
 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);
     }
 }