Beispiel #1
0
 public Preprocessor(Normalizer normalizer, Inflector inflector)
 {
     this._normalizer = normalizer;
     this._inflector = inflector;
 }
 /// <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);
 }
Beispiel #3
0
 public Preprocessor()
 {
     _normalizer = new Normalizer();
     _inflector = new Inflector();
 }