Ejemplo n.º 1
0
        public TranscriptionService(ITransactionService transactionService,
                                    IMapper mapper,
                                    IUsersRepository usersRepository,
                                    IImportRepository importsRepository,
                                    IWorkingPeriodsService workingPeriodsService,
                                    ITranscriptionRepository transcriptionRepository,
                                    ILabelingModuleConfiguration labelingModuleConfiguration,
                                    IAudioReopenSubscriptionService audioReopenSubscriptionService,
                                    IDeepSpeechControlProxy deepSpeechControlProxy,
                                    IAssignedLabelGroupsRepository assignedLabelGroupsRepository,
                                    ILabelingAudioService labelingAudioService,
                                    ILabelService labelService,
                                    ITranscriptionLabelsRepository transcriptionLabelsRepository,
                                    ITranscriptionMetricsRepository transcriptionMetricsRepository,
                                    ITranscriptionSelectedLabelRepository transcriptionSelectedLabelRepository)
        {
            this.mapper                               = mapper;
            this.transactionService                   = transactionService;
            this.usersRepository                      = usersRepository;
            this.workingPeriodsService                = workingPeriodsService;
            this.importsRepository                    = importsRepository;
            this.deepSpeechControlProxy               = deepSpeechControlProxy;
            this.labelingModuleConfiguration          = labelingModuleConfiguration;
            this.audioReopenSubscriptionService       = audioReopenSubscriptionService;
            this.transcriptionRepository              = transcriptionRepository;
            this.assignedLabelGroupsRepository        = assignedLabelGroupsRepository;
            this.labelingAudioService                 = labelingAudioService;
            this.labelService                         = labelService;
            this.transcriptionLabelsRepository        = transcriptionLabelsRepository;
            this.transcriptionMetricsRepository       = transcriptionMetricsRepository;
            this.transcriptionSelectedLabelRepository = transcriptionSelectedLabelRepository;

            randomizer = new Random();
        }
Ejemplo n.º 2
0
 public FCMomentsService(IMapper mapper,
                         ITransactionService transactionService,
                         IUsersRepository usersRepository,
                         ILabelingModuleConfiguration labelingModuleConfiguration,
                         IWorkingPeriodsService workingPeriodsService,
                         IFCMomentsRepository fcMomentsRepository,
                         IAudioReopenSubscriptionService audioReopenSubscriptionService,
                         ILabelingAudioService labelingAudioService,
                         IFCMomentAMLogRepository fcMomentAMLogRepository)
 {
     this.mapper                         = mapper;
     this.usersRepository                = usersRepository;
     this.transactionService             = transactionService;
     this.workingPeriodsService          = workingPeriodsService;
     this.labelingModuleConfiguration    = labelingModuleConfiguration;
     this.audioReopenSubscriptionService = audioReopenSubscriptionService;
     this.fcMomentsRepository            = fcMomentsRepository;
     this.labelingAudioService           = labelingAudioService;
     this.fcMomentAMLogRepository        = fcMomentAMLogRepository;
 }