Пример #1
0
        static void Main(string[] args)
        {
            var bootstrapper = new Bootstrapper();
            bootstrapper.Initialize();

            var parser = ObjectFactory.GetInstance<FileParser>();

            parser.Process(@"C:\Users\Marcin\Downloads\plwiki-20121110-pages-articles.xml\AA\wiki_00");
        }
Пример #2
0
        static void Main(string[] args)
        {
            var bootstrapper = new Bootstrapper();
            bootstrapper.Initialize();

            var ontologyReader = ObjectFactory.GetInstance<IOntologyReader>();
            ontologyReader.InitializeReader(@"C:\Users\Marcin\Desktop\studia\people.owl");

            var translationManager = ObjectFactory.GetInstance<ITranslationManager>();

            ((IOntologyReader)translationManager.WordReader).InitializeReader(@"C:\Users\Marcin\Desktop\studia\people.owl");

            translationManager.DoWork();
        }
Пример #3
0
 public void SetUp()
 {
     var bootstranpper = new Bootstrapper();
     bootstranpper.Initialize();
 }
Пример #4
0
        public void SetUp()
        {
            var bootstrapper = new Bootstrapper();
            bootstrapper.Initialize();

            TranslatorFactory.ClearTranslator();
        }