コード例 #1
0
 public SpecimenCodesByPatternTagger(
     ITextContentHarvester contentHarvester,
     ISpecimenCodesByPatternDataMiner miner,
     ISimpleXmlSerializableObjectTagger <SpecimenCodeSerializableModel> tagger)
 {
     this.contentHarvester = contentHarvester ?? throw new ArgumentNullException(nameof(contentHarvester));
     this.miner            = miner ?? throw new ArgumentNullException(nameof(miner));
     this.tagger           = tagger ?? throw new ArgumentNullException(nameof(tagger));
 }
コード例 #2
0
 public EnvironmentTermsWithExtractTagger(
     IExtractHcmrDataMiner miner,
     ITextContentHarvester contentHarvester,
     ISimpleXmlSerializableObjectTagger <EnvoExtractHcmrSerializableModel> contentTagger)
 {
     this.miner            = miner ?? throw new ArgumentNullException(nameof(miner));
     this.contentHarvester = contentHarvester ?? throw new ArgumentNullException(nameof(contentHarvester));
     this.contentTagger    = contentTagger ?? throw new ArgumentNullException(nameof(contentTagger));
 }
コード例 #3
0
 public CollectionCodesTagger(
     ITextContentHarvester contentHarvester,
     IBiorepositoriesCollectionsDataMiner miner,
     ISimpleXmlSerializableObjectTagger <BiorepositoriesCollectionCodeSerializableModel> collectionCodesTagger,
     ISimpleXmlSerializableObjectTagger <BiorepositoriesCollectionSerializableModel> collectionsTagger)
 {
     this.contentHarvester      = contentHarvester ?? throw new ArgumentNullException(nameof(contentHarvester));
     this.miner                 = miner ?? throw new ArgumentNullException(nameof(miner));
     this.collectionCodesTagger = collectionCodesTagger ?? throw new ArgumentNullException(nameof(collectionCodesTagger));
     this.collectionsTagger     = collectionsTagger ?? throw new ArgumentNullException(nameof(collectionsTagger));
 }
コード例 #4
0
 public EnvironmentTermsTagger(
     IEnvoTermsDataMiner miner,
     ITextContentHarvester contentHarvester,
     ISimpleXmlSerializableObjectTagger <EnvoTermSerializableModel> contentTagger,
     ILogger logger)
 {
     this.miner            = miner ?? throw new ArgumentNullException(nameof(miner));
     this.contentHarvester = contentHarvester ?? throw new ArgumentNullException(nameof(contentHarvester));
     this.contentTagger    = contentTagger ?? throw new ArgumentNullException(nameof(contentTagger));
     this.logger           = logger;
 }
コード例 #5
0
 public CodesTagger(
     ICodesTransformersFactory transformerFactory,
     ITextContentHarvester contentHarvester,
     IContentTagger contentTagger,
     ILogger logger)
 {
     this.transformerFactory = transformerFactory ?? throw new ArgumentNullException(nameof(transformerFactory));
     this.contentHarvester   = contentHarvester ?? throw new ArgumentNullException(nameof(contentHarvester));
     this.contentTagger      = contentTagger ?? throw new ArgumentNullException(nameof(contentTagger));
     this.logger             = logger;
 }
コード例 #6
0
 public ExternalLinksTagger(
     IExternalLinksDataMiner miner,
     ITextContentHarvester contentHarvester,
     ISimpleXmlSerializableObjectTagger <ExternalLinkXmlModel> contentTagger,
     ILogger logger)
 {
     this.miner            = miner ?? throw new ArgumentNullException(nameof(miner));
     this.contentHarvester = contentHarvester ?? throw new ArgumentNullException(nameof(contentHarvester));
     this.contentTagger    = contentTagger ?? throw new ArgumentNullException(nameof(contentTagger));
     this.logger           = logger;
 }
コード例 #7
0
        public GenericStringDataMinerEvaluator(TMiner miner, ITextContentHarvester contentHarvester)
        {
            if (miner == null)
            {
                throw new ArgumentNullException(nameof(miner));
            }

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

            this.miner            = miner;
            this.contentHarvester = contentHarvester;
        }
コード例 #8
0
 public HigherTaxaTagger(
     IHigherTaxaDataMiner miner,
     ITextContentHarvester contentHarvester,
     IPersonNamesHarvester personNamesHarvester,
     IBlackList blacklist,
     IWhiteList whitelist,
     IStringTagger contentTagger)
 {
     this.miner                = miner ?? throw new ArgumentNullException(nameof(miner));
     this.contentHarvester     = contentHarvester ?? throw new ArgumentNullException(nameof(contentHarvester));
     this.personNamesHarvester = personNamesHarvester ?? throw new ArgumentNullException(nameof(personNamesHarvester));
     this.blacklist            = blacklist ?? throw new ArgumentNullException(nameof(blacklist));
     this.whitelist            = whitelist ?? throw new ArgumentNullException(nameof(whitelist));
     this.contentTagger        = contentTagger ?? throw new ArgumentNullException(nameof(contentTagger));
 }