Beispiel #1
0
 public Letter(string letter, BaseAnalizerManager manager, BaseTermin parent, bool isHtml = false)
     : base(manager, parent)
 {
     manager.Container.SetOriginalString(letter, isHtml);            //OriginalString = letter;
     manager.Container.Parent  = parent;
     manager.Container.Current = this;
 }
Beispiel #2
0
 public Sentense(string str, ISentenceAnalyzerManager manager, BaseTermin parent, bool isHtml = false)
     : base(manager, parent)
 {
     manager.Container.SetOriginalString(str, isHtml);            //OriginalString = str;
     manager.Container.Parent  = parent;
     manager.Container.Current = this;
 }
Beispiel #3
0
 public Word(int index, string word, IWordAnalizerManager manager, BaseTermin parent, bool isHtml = false)
     : base(manager, parent)
 {
     manager.Container.SetOriginalString(word, isHtml);           //OriginalString = word;
     manager.Container.Current = this;
     manager.Container.Parent  = parent;
     _index = index;
 }
Beispiel #4
0
 public Sign(int?index, string sign, IEntityContainer textAnalyzerManager, BaseTermin current, bool isHtml = false)
     : base(textAnalyzerManager, current)
 {
     textAnalyzerManager.Container.SetOriginalString(sign, isHtml);            //OriginalString = sign;
     textAnalyzerManager.Container.Parent  = current;
     textAnalyzerManager.Container.Current = this;
     CurrentSign = SignDictionary.First(c => c.Value.Equals(sign.ToCharArray()[0])).Key;
     _index      = index;
 }
Beispiel #5
0
 public Text(string text, ITextAnalizerManager textAnalyzerManager, BaseTermin current = null, bool isHtml = false)
     : base(textAnalyzerManager, current)
 {
     textAnalyzerManager.Container.SetOriginalString(text, isHtml);            //OriginalString = text;
     textAnalyzerManager.Container.Current = this;
 }
Beispiel #6
0
 protected BaseTermin(IEntityContainer textAnalyzerManager, BaseTermin current)
 {
     EntityManager = textAnalyzerManager;
     Current       = current;
 }