protected override void Execute(CodeActivityContext context) { ExtractorDocumentType documentType = ExtractorDocumentType.Get(context); ResultsDocumentBounds documentBounds = DocumentBounds.Get(context); string text = DocumentText.Get(context); Document document = DocumentObjectModel.Get(context); string documentPath = DocumentPath.Get(context); ExtractorResult.Set(context, ComputeResult(documentType, documentBounds, text, document, documentPath)); }
protected override void Execute(CodeActivityContext context) { string text = DocumentText.Get(context); Document document = DocumentObjectModel.Get(context); string documentPath = DocumentPath.Get(context); ClassifierDocumentType[] documentTypes = DocumentTypes.Get(context); int evidencePage = EvidencePage.Get(context); ClassifierResult.Set(context, ComputeResult(text, document, documentPath, documentTypes, evidencePage)); }