public CorrectionFinder(WordCorrectionFinder wordCorrectionFinder)
 {
     if (wordCorrectionFinder == null)
     {
         throw new ArgumentNullException(nameof(wordCorrectionFinder));
     }
     _wordCorrectionFinder = wordCorrectionFinder;
 }
        public static ICorrectionFinder CreateCorrectionFinder()
        {
            var correctionDefinitions = new ICorrectionDefinition[]
            {
                new ProperNounNeedsApostropheCorrectionDefinition(),
                new ContractionNeedsApostropheCorrectionDefinition(),
                new NormalNounHasApostropheCorrectionDefinition(),
            };
            var wordCorrectionFinder = new WordCorrectionFinder(correctionDefinitions);

            return(new CorrectionFinder(wordCorrectionFinder));
        }