Example #1
0
        private static void ImportSqliteData(string server, string index, string path)
        {
            TranslationMemorySqliteParser e = new TranslationMemorySqliteParser(path);
            var sqliteData = e.Parse();

            ElasticDictionaryDataImporter importer = new ElasticDictionaryDataImporter(server, index);
            importer.TranslationMemories = sqliteData;
            importer.Execute();
            Console.Write(importer);
        }
 public void SqliteOpen()
 {
     string path = @"‪C:\Users\chenchen\Downloads\NW_MECHANICS.sdltm";
     TranslationMemorySqliteParser e = new TranslationMemorySqliteParser(path);
     e.Parse();
 }