Ejemplo n.º 1
0
 public TrEnIndexing()
 {
     db = new dbtools();
     enStopWords = File.ReadAllLines("..\\..\\data\\enStopWords.txt").ToList();
     trStopWords = File.ReadAllLines("..\\..\\data\\trStopWordsClean.txt").ToList();
     getVocabsFromData();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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");
        }
Ejemplo n.º 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);
     }
 }