Studyzy.LearnEnglishBySubtitle.SentenceParse.SentenceParse C# (CSharp) Method

SentenceParse() public method

public SentenceParse ( ) : System
return System
        public SentenceParse()
        {
            //dictionaryService=new ViconDictionaryService();
               //string currentFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
            string currentFolder = System.AppDomain.CurrentDomain.BaseDirectory;
               var model = currentFolder + @"\models\english-bidirectional-distsim.tagger";
            // Loading POS Tagger
            if(tagger==null)
            tagger = new MaxentTagger(model);
        }