public LangFileParser(
            ISingleLineParser <StopWords> stopWordsParser,
            ISingleLineParser <Synonym> synonymsParser,
            IMultilineParser <TranslationSet> translationSetParser)
        {
            if (stopWordsParser == null)
            {
                throw new ArgumentNullException(nameof(stopWordsParser));
            }

            if (synonymsParser == null)
            {
                throw new ArgumentNullException(nameof(synonymsParser));
            }

            if (translationSetParser == null)
            {
                throw new ArgumentNullException(nameof(translationSetParser));
            }

            this.stopWordsParser      = stopWordsParser;
            this.synonymsParser       = synonymsParser;
            this.translationSetParser = translationSetParser;
        }
        public LangFileParser(
            ISingleLineParser<StopWords> stopWordsParser,
            ISingleLineParser<Synonym> synonymsParser,
            IMultilineParser<TranslationSet> translationSetParser)
        {
            if (stopWordsParser == null)
            {
                throw new ArgumentNullException(nameof(stopWordsParser));
            }

            if (synonymsParser == null)
            {
                throw new ArgumentNullException(nameof(synonymsParser));
            }

            if (translationSetParser == null)
            {
                throw new ArgumentNullException(nameof(translationSetParser));
            }

            this.stopWordsParser = stopWordsParser;
            this.synonymsParser = synonymsParser;
            this.translationSetParser = translationSetParser;
        }