Пример #1
0
 public Preprocessor(Normalizer normalizer, Inflector inflector)
 {
     this._normalizer = normalizer;
     this._inflector = inflector;
 }
Пример #2
0
 /// <summary>
 /// Creates and returns a new Proprocessor instance.
 /// </summary>
 /// <returns>a new Preprocessor instance</returns>
 public IPreprocessor GetIPreprocessor()
 {
     Normalizer normalizer = new Normalizer();
     Inflector inflector = new Inflector();
     return new Preprocessor(normalizer, inflector);
 }
Пример #3
0
 public Preprocessor()
 {
     _normalizer = new Normalizer();
     _inflector = new Inflector();
 }