SYMBOL INDEX (1173 symbols across 57 files) FILE: src-csharp/Program.cs class Program (line 9) | class Program { method Main (line 12) | static void Main(string[] args) { method PrepareDocument (line 51) | static TextractDocument PrepareDocument(TextractTextAnalysisService te... method BuildTextractClient (line 59) | static TextractTextAnalysisService BuildTextractClient() { class TextractTextAnalysisService (line 70) | public class TextractTextAnalysisService { method TextractTextAnalysisService (line 72) | public TextractTextAnalysisService(IAmazonTextract textract) { method GetJobResults (line 75) | public GetDocumentAnalysisResponse GetJobResults(string jobId) { method IsJobComplete (line 83) | public bool IsJobComplete(string jobId) { method StartDocumentAnalysis (line 91) | public async Task StartDocumentAnalysis(string bucketName, str... method WaitForJobCompletion (line 105) | public void WaitForJobCompletion(string jobId, int delay = 5000) { method Wait (line 111) | private void Wait(int delay = 5000) { FILE: src-csharp/TextractExtensions.cs class Word (line 6) | public class Word { method Word (line 7) | public Word(Block block, List blocks) { method ToString (line 21) | public override string ToString() { class TextractDocument (line 26) | public class TextractDocument { method TextractDocument (line 30) | public TextractDocument(GetDocumentAnalysisResponse response) { method ParseDocumentPagesAndBlockMap (line 39) | private void ParseDocumentPagesAndBlockMap() { method Parse (line 63) | private void Parse() { method GetBlockById (line 70) | public Block GetBlockById(string blockId) { class Table (line 83) | public class Table { method Table (line 84) | public Table(Block block, List blocks) { method ToString (line 118) | public override string ToString() { class SelectionElement (line 128) | public class SelectionElement { method SelectionElement (line 129) | public SelectionElement(Block block, List blocks) { class Row (line 142) | public class Row { method Row (line 143) | public Row() { method ToString (line 148) | public override string ToString() { class Page (line 157) | public class Page { method Page (line 158) | public Page(List blocks, List blockMap) { method GetLinesInReadingOrder (line 192) | public List GetLinesInReadingOrder() { method GetTextInReadingOrder (line 221) | public string GetTextInReadingOrder() { method ToString (line 240) | public override string ToString() { class Column (line 249) | public class Column { method ToString (line 253) | public override string ToString() { class IndexedText (line 258) | public class IndexedText { method ToString (line 262) | public override string ToString() { class NewGeometry (line 268) | public class NewGeometry : Geometry { method NewGeometry (line 270) | public NewGeometry(Geometry geometry) : base() { method ToString (line 284) | public override string ToString() { class NewBoundingBox (line 291) | public class NewBoundingBox : BoundingBox { method NewBoundingBox (line 292) | public NewBoundingBox(float width, float height, float left, float top... method ToString (line 299) | public override string ToString() { class Line (line 304) | public class Line { method Line (line 305) | public Line(Block block, List blocks) { method ToString (line 332) | public override string ToString() { class Form (line 343) | public class Form { method Form (line 347) | public Form() { method AddField (line 352) | public void AddField(Field field) { method GetFieldByKey (line 356) | public Field GetFieldByKey(string key) { method SearchFieldsByKey (line 360) | public List SearchFieldsByKey(string key) { method ToString (line 364) | public override string ToString() { class FieldValue (line 369) | public class FieldValue { method FieldValue (line 370) | public FieldValue(Block block, List children, List bloc... method ToString (line 405) | public override string ToString() { class FieldKey (line 410) | public class FieldKey { method FieldKey (line 411) | public FieldKey(Block block, List children, List blocks) { method ToString (line 444) | public override string ToString() { class Field (line 449) | public class Field { method Field (line 450) | public Field(Block block, List blocks) { method ToString (line 477) | public override string ToString() { class Cell (line 487) | public class Cell { method Cell (line 488) | public Cell(Block block, List blocks) { method ToString (line 532) | public override string ToString() { FILE: src-js/bin/reading-order-diagnostic.js constant IN_FOLDER (line 19) | const IN_FOLDER = "test/data/corpus"; constant OUT_FOLDER (line 20) | const OUT_FOLDER = "test/data/corpus-readingorder"; FILE: src-js/examples/browser-iife/main.js constant CHILD (line 16) | const CHILD = trp.ApiRelationshipType.Child; function parseDocResult (line 41) | function parseDocResult(textractJsonStr) { function onFileUpload (line 58) | function onFileUpload(fileInput) { FILE: src-js/examples/browser-iife/test.js constant HTML_URI (line 19) | const HTML_URI = `file:///${__dirname}/main.html`; constant RESPONSE_JSON_PATH (line 20) | const RESPONSE_JSON_PATH = path.join(__dirname, "..", "..", "test", "dat... FILE: src-js/examples/nodejs-require/main.js function testStaticFiles (line 26) | async function testStaticFiles() { function testCallTextract (line 46) | async function testCallTextract() { FILE: src-js/examples/nodejs-typescript/src/main.ts function testStaticFiles (line 33) | async function testStaticFiles() { function testCallTextract (line 55) | async function testCallTextract() { FILE: src-js/src/api-models/base.ts type ApiRelationshipType (line 14) | const enum ApiRelationshipType { type IRelationshipBase (line 52) | interface IRelationshipBase { type ApiAnswerRelationship (line 63) | interface ApiAnswerRelationship extends IRelationshipBase { type ApiChildRelationship (line 67) | interface ApiChildRelationship extends IRelationshipBase { type ApiComplexFeaturesRelationship (line 71) | interface ApiComplexFeaturesRelationship extends IRelationshipBase { type ApiMergedCellRelationship (line 75) | interface ApiMergedCellRelationship extends IRelationshipBase { type ApiTableFooterRelationship (line 79) | interface ApiTableFooterRelationship extends IRelationshipBase { type ApiTableTitleRelationship (line 83) | interface ApiTableTitleRelationship extends IRelationshipBase { type ApiValueRelationship (line 87) | interface ApiValueRelationship extends IRelationshipBase { type ApiRelationship (line 96) | type ApiRelationship = type ApiBlockType (line 110) | const enum ApiBlockType { type ApiLayoutBlockType (line 272) | type ApiLayoutBlockType = constant LAYOUT_BLOCK_TYPES (line 289) | const LAYOUT_BLOCK_TYPES = new Set([ function isLayoutBlockType (line 305) | function isLayoutBlockType(blockType: ApiBlockType): boolean { type ApiBlockBase (line 314) | interface ApiBlockBase { FILE: src-js/src/api-models/content.ts type ApiTextType (line 18) | const enum ApiTextType { type ApiWordBlock (line 28) | interface ApiWordBlock extends ApiBlockBase { type ApiLineBlock (line 48) | interface ApiLineBlock extends ApiBlockBase { type ApiSelectionStatus (line 70) | const enum ApiSelectionStatus { type ApiSelectionElementBlock (line 80) | interface ApiSelectionElementBlock extends ApiBlockBase { type ApiSignatureBlock (line 100) | interface ApiSignatureBlock extends ApiBlockBase { FILE: src-js/src/api-models/document.ts type ApiPageBlock (line 127) | interface ApiPageBlock extends ApiBlockBase { type ApiBlock (line 143) | type ApiBlock = FILE: src-js/src/api-models/expense.ts type ApiExpenseComponentDetection (line 11) | interface ApiExpenseComponentDetection { type ApiExpenseFieldType (line 20) | interface ApiExpenseFieldType { type ApiExpenseField (line 25) | interface ApiExpenseField { type ApiExpenseLineItem (line 32) | interface ApiExpenseLineItem { type ApiExpenseLineItemGroup (line 36) | interface ApiExpenseLineItemGroup { type ApiExpenseDocument (line 41) | interface ApiExpenseDocument { FILE: src-js/src/api-models/form.ts type ApiKeyValueEntityType (line 14) | const enum ApiKeyValueEntityType { type ApiKeyBlock (line 31) | interface ApiKeyBlock extends ApiBlockBase { type ApiKeyValueSetBlock (line 55) | interface ApiKeyValueSetBlock extends ApiBlockBase { type ApiValueBlock (line 82) | interface ApiValueBlock extends ApiBlockBase { FILE: src-js/src/api-models/geometry.ts type ApiBoundingBox (line 10) | interface ApiBoundingBox { type ApiPoint (line 34) | interface ApiPoint { type ApiGeometry (line 50) | interface ApiGeometry { FILE: src-js/src/api-models/id.ts type ApiIdentityDocumentFieldType (line 7) | interface ApiIdentityDocumentFieldType { type ApiIdentityDocumentFieldValueDetection (line 22) | interface ApiIdentityDocumentFieldValueDetection { type ApiIdentityDocumentField (line 39) | interface ApiIdentityDocumentField { type ApiIdentityDocument (line 44) | interface ApiIdentityDocument { FILE: src-js/src/api-models/layout.ts type ApiLayoutBlockBase (line 12) | interface ApiLayoutBlockBase extends ApiBlockBase { type ApiLayoutFigureBlock (line 34) | interface ApiLayoutFigureBlock extends ApiLayoutBlockBase { type ApiLayoutFooterBlock (line 45) | interface ApiLayoutFooterBlock extends ApiLayoutBlockBase { type ApiLayoutHeaderBlock (line 56) | interface ApiLayoutHeaderBlock extends ApiLayoutBlockBase { type ApiLayoutKeyValueBlock (line 63) | interface ApiLayoutKeyValueBlock extends ApiLayoutBlockBase { type ApiLayoutListBlock (line 70) | interface ApiLayoutListBlock extends ApiLayoutBlockBase { type ApiLayoutPageNumberBlock (line 79) | interface ApiLayoutPageNumberBlock extends ApiLayoutBlockBase { type ApiLayoutSectionHeaderBlock (line 86) | interface ApiLayoutSectionHeaderBlock extends ApiLayoutBlockBase { type ApiLayoutTableBlock (line 93) | interface ApiLayoutTableBlock extends ApiLayoutBlockBase { type ApiLayoutTextBlock (line 100) | interface ApiLayoutTextBlock extends ApiLayoutBlockBase { type ApiLayoutTitleBlock (line 107) | interface ApiLayoutTitleBlock extends ApiLayoutBlockBase { type ApiLayoutBlock (line 116) | type ApiLayoutBlock = FILE: src-js/src/api-models/query.ts type ApiQueryBlock (line 15) | interface ApiQueryBlock extends ApiBlockBase { type ApiQueryResultBlock (line 52) | interface ApiQueryResultBlock extends ApiBlockBase { FILE: src-js/src/api-models/response.ts type ApiJobStatus (line 15) | const enum ApiJobStatus { type ApiDocumentMetadata (line 27) | interface ApiDocumentMetadata { type ApiAnalyzeExpenseResponse (line 38) | interface ApiAnalyzeExpenseResponse { type ApiAnalyzeIdResponse (line 48) | interface ApiAnalyzeIdResponse { type ApiResponseWithContent (line 54) | interface ApiResponseWithContent { type ApiAnalyzeDocumentResponse (line 64) | interface ApiAnalyzeDocumentResponse extends ApiResponseWithContent { type ApiDetectDocumentTextResponse (line 78) | interface ApiDetectDocumentTextResponse extends ApiResponseWithContent { type ApiAsyncJobOutputInProgress (line 82) | interface ApiAsyncJobOutputInProgress { type ApiAsyncJobOuputInProgress (line 96) | interface ApiAsyncJobOuputInProgress extends ApiAsyncJobOutputInProgress {} type ApiAsyncJobOutputStatus (line 101) | interface ApiAsyncJobOutputStatus { type ApiResultWarning (line 114) | interface ApiResultWarning { type ApiAsyncJobOuputSucceded (line 119) | interface ApiAsyncJobOuputSucceded extends ApiResponseWithContent, ApiAs... type ApiAsyncJobOutputPartialSuccess (line 123) | interface ApiAsyncJobOutputPartialSuccess extends ApiResponseWithContent... type ApiAsyncJobOutputFailed (line 127) | interface ApiAsyncJobOutputFailed extends ApiAsyncJobOutputStatus { type ApiAsyncDocumentAnalysis (line 131) | type ApiAsyncDocumentAnalysis = type ApiAsyncDocumentTextDetection (line 139) | type ApiAsyncDocumentTextDetection = type ApiResponsePage (line 147) | type ApiResponsePage = type ApiResponsePages (line 153) | type ApiResponsePages = FILE: src-js/src/api-models/table.ts type ApiTableEntityType (line 24) | const enum ApiTableEntityType { type ApiTableBlock (line 32) | interface ApiTableBlock extends ApiBlockBase { type ApiTableCellEntityType (line 57) | const enum ApiTableCellEntityType { type ApiCellBlock (line 71) | interface ApiCellBlock extends ApiBlockBase { type ApiMergedCellBlock (line 107) | interface ApiMergedCellBlock extends ApiBlockBase { type ApiTableFooterBlock (line 143) | interface ApiTableFooterBlock extends ApiBlockBase { type ApiTableTitleBlock (line 159) | interface ApiTableTitleBlock extends ApiBlockBase { FILE: src-js/src/base.ts type Constructor (line 17) | type Constructor = new (...args: any[]) => T; class ApiObjectWrapper (line 24) | class ApiObjectWrapper { method constructor (line 27) | constructor(dict: T) { method dict (line 34) | get dict(): T { type IApiBlockWrapper (line 42) | interface IApiBlockWrapper { type IWithText (line 66) | interface IWithText { type IRenderOpts (line 81) | interface IRenderOpts { function doesFilterAllowBlockType (line 105) | function doesFilterAllowBlockType( type IRenderable (line 121) | interface IRenderable extends IWithText { class ApiBlockWrapper (line 143) | class ApiBlockWrapper extends ApiObjectWrapper im... method id (line 144) | get id(): string { method blockType (line 148) | get blockType(): ApiBlockType { method childBlockIds (line 152) | get childBlockIds(): string[] { method relatedBlockIdsByRelType (line 156) | relatedBlockIdsByRelType(relType: ApiRelationshipType | ApiRelationshi... class DocumentMetadata (line 180) | class DocumentMetadata extends ApiObjectWrapper { method nPages (line 184) | get nPages(): number { type INestedListOpts (line 192) | interface INestedListOpts { function getIterable (line 211) | function getIterable(collectionFetcher: () => T[]): Iterable { type IEscapeHtmlOpts (line 237) | interface IEscapeHtmlOpts { function escapeHtml (line 252) | function escapeHtml(str: string, { forAttr = false }: IEscapeHtmlOpts = ... type IIndentOpts (line 269) | interface IIndentOpts { function indent (line 301) | function indent( type AggregationMethod (line 319) | const enum AggregationMethod { function modalAvg (line 332) | function modalAvg(arr: Iterable): number | null { function aggregate (line 358) | function aggregate(arr: Iterable, aggMethod: AggregationMethod):... function argMax (line 387) | function argMax(arr: number[]): { maxValue: number; maxIndex: number } { type ActionOnMissingBlock (line 401) | type ActionOnMissingBlock = "error" | "warn" | null; type ActionOnUnexpectedBlockType (line 410) | type ActionOnUnexpectedBlockType = "error" | "warn" | null; type IBlockTypeFilterOpts (line 415) | interface IBlockTypeFilterOpts { type IMissingBlockOpts (line 437) | interface IMissingBlockOpts { function normalizeOptionalSet (line 452) | function normalizeOptionalSet(raw: T | T[] | Set | null | undefine... function setIntersection (line 464) | function setIntersection(a: Set, b: Set) { function setUnion (line 477) | function setUnion(a: Set, b: Set) { type IDocBlocks (line 494) | interface IDocBlocks { type IBlockManager (line 512) | interface IBlockManager extends IDocBlocks { type IWithParentPage (line 544) | interface IWithParentPage { type IWithRelatedItems (line 556) | interface IWithRelatedItems> { function _implIterRelatedBlocksByRelType (line 599) | function _implIterRelatedBlocksByRelType( function _implIterRelatedItemsByRelType (line 675) | function _implIterRelatedItemsByRelType( function _implListRelatedBlocksByRelType (line 710) | function _implListRelatedBlocksByRelType( function _implListRelatedItemsByRelType (line 775) | function _implListRelatedItemsByRelType( type IHostedApiBlockWrapper (line 791) | interface IHostedApiBlockWrapper { method text (line 71) | get text(): string { method textType (line 77) | get textType(): ApiTextType { method textType (line 80) | set textType(newVal: ApiTextType) { method html (line 87) | html(opts?: IRenderOpts): string { method str (line 95) | str(): string { type IWithContent (line 110) | interface IWithContent & IRe... type IWithContentMixinOptions (line 148) | interface IWithContentMixinOptions { function buildWithContent (line 189) | function buildWithContent & ... type IWithWordsMixinOptions (line 290) | interface IWithWordsMixinOptions { type IWithWords (line 313) | interface IWithWords extends IWithText { function WithWords (line 367) | function WithWords< class LineGeneric (line 469) | class LineGeneric method constructor (line 475) | constructor(block: ApiLineBlock, parentPage: TPage) { method confidence (line 480) | get confidence(): number { method confidence (line 483) | set confidence(newVal: number) { method geometry (line 489) | get geometry(): Geometry> { method text (line 497) | override get text(): string { method getText (line 509) | override getText(opts?: IBlockTypeFilterOpts): string { method html (line 520) | html(opts?: IRenderOpts): string { method str (line 525) | str(): string { class SelectionElement (line 537) | class SelectionElement method constructor (line 543) | constructor(block: ApiSelectionElementBlock) { method confidence (line 551) | get confidence(): number { method confidence (line 554) | set confidence(newVal: number) { method geometry (line 560) | get geometry(): Geometry { method isSelected (line 566) | get isSelected(): boolean { method selectionStatus (line 574) | get selectionStatus(): ApiSelectionStatus { method selectionStatus (line 577) | set selectionStatus(newVal: ApiSelectionStatus) { method html (line 586) | html(opts?: IRenderOpts): string { method str (line 596) | str(): string { method text (line 603) | get text(): string { class Signature (line 613) | class Signature method constructor (line 619) | constructor(block: ApiSignatureBlock) { method confidence (line 627) | get confidence(): number { method confidence (line 630) | set confidence(newVal: number) { method geometry (line 636) | get geometry(): Geometry { method html (line 645) | html(opts?: IRenderOpts): string { method str (line 659) | str(): string { method text (line 666) | get text(): "" { FILE: src-js/src/document.ts type ReadingOrderLayoutMode (line 93) | const enum ReadingOrderLayoutMode { type HeuristicReadingOrderModelParams (line 111) | interface HeuristicReadingOrderModelParams { type HeaderFooterSegmentModelParams (line 156) | interface HeaderFooterSegmentModelParams { class Page (line 183) | class Page method constructor (line 223) | constructor(pageBlock: ApiPageBlock, blocks: ApiBlock[], parentDocumen... method getBlockById (line 273) | getBlockById(blockId: string): ApiBlock | undefined { method getItemByBlockId (line 277) | getItemByBlockId( method getModalWordOrientationDegrees (line 316) | getModalWordOrientationDegrees(): number | null { method _getLineClustersByColumn (line 333) | _getLineClustersByColumn({ method getLineClustersInReadingOrder (line 536) | getLineClustersInReadingOrder({ method getTextInReadingOrder (line 584) | getTextInReadingOrder({ method _groupLinesByVerticalGaps (line 622) | _groupLinesByVerticalGaps( method _getHeaderOrFooterLines (line 771) | _getHeaderOrFooterLines( method getFooterLines (line 849) | getFooterLines( method getHeaderLines (line 869) | getHeaderLines( method getLinesByLayoutArea (line 891) | getLinesByLayoutArea( method iterLines (line 952) | iterLines(): Iterable> { method iterRelatedItemsByRelType (line 956) | iterRelatedItemsByRelType( method iterSignatures (line 973) | iterSignatures(): Iterable { method iterTables (line 989) | iterTables(): Iterable> { method lineAtIndex (line 1002) | lineAtIndex(ix: number): LineGeneric { method listBlocks (line 1014) | listBlocks(): ApiBlock[] { method listLines (line 1025) | listLines(): LineGeneric[] { method listRelatedItemsByRelType (line 1029) | listRelatedItemsByRelType( method listSignatures (line 1043) | listSignatures(): Signature[] { method listTables (line 1056) | listTables(): TableGeneric[] { method registerParsedItem (line 1060) | registerParsedItem( method tableAtIndex (line 1086) | tableAtIndex(ix: number): TableGeneric { method form (line 1098) | get form(): FormGeneric { method geometry (line 1107) | get geometry(): Geometry { method hasLayout (line 1115) | get hasLayout(): boolean { method layout (line 1123) | get layout(): LayoutGeneric { method nLines (line 1129) | get nLines(): number { method nSignatures (line 1135) | get nSignatures(): number { method nTables (line 1141) | get nTables(): number { method pageNumber (line 1148) | get pageNumber(): number { method parentDocument (line 1159) | get parentDocument(): TextractDocument { method queries (line 1168) | get queries(): QueryInstanceCollectionGeneric { method text (line 1176) | get text(): string { method html (line 1198) | html(opts?: IRenderOpts): string { method str (line 1217) | str(): string { class Line (line 1231) | class Line extends LineGeneric {} class Field (line 1241) | class Field extends FieldGeneric {} class FieldKey (line 1250) | class FieldKey extends FieldKeyGeneric {} class FieldValue (line 1259) | class FieldValue extends FieldValueGeneric {} class Form (line 1267) | class Form extends FormGeneric {} class LayoutFigure (line 1278) | class LayoutFigure extends LayoutFigureGeneric {} class LayoutFooter (line 1288) | class LayoutFooter extends LayoutFooterGeneric {} class LayoutHeader (line 1298) | class LayoutHeader extends LayoutHeaderGeneric {} class LayoutKeyValue (line 1308) | class LayoutKeyValue extends LayoutKeyValueGeneric {} class LayoutPageNumber (line 1317) | class LayoutPageNumber extends LayoutPageNumberGeneric {} class LayoutSectionHeader (line 1326) | class LayoutSectionHeader extends LayoutSectionHeaderGeneric {} class LayoutTable (line 1336) | class LayoutTable extends LayoutTableGeneric {} class LayoutText (line 1345) | class LayoutText extends LayoutTextGeneric {} class LayoutTitle (line 1354) | class LayoutTitle extends LayoutTitleGeneric {} class LayoutList (line 1363) | class LayoutList extends LayoutListGeneric {} class Layout (line 1373) | class Layout extends LayoutGeneric {} class QueryInstance (line 1384) | class QueryInstance extends QueryInstanceGeneric {} class QueryInstanceCollection (line 1392) | class QueryInstanceCollection extends QueryInstanceCollectionGeneric {} class Cell (line 1412) | class Cell extends CellGeneric {} class MergedCell (line 1421) | class MergedCell extends MergedCellGeneric {} class Row (line 1431) | class Row extends RowGeneric {} class Table (line 1440) | class Table extends TableGeneric {} class TableFooter (line 1449) | class TableFooter extends TableFooterGeneric {} class TableTitle (line 1458) | class TableTitle extends TableTitleGeneric {} class TextractDocument (line 1463) | class TextractDocument method constructor (line 1476) | constructor(textractResults: ApiResponsePage | ApiResponsePages) { method _parse (line 1498) | _parse(): void { method _consolidateMultipleResponses (line 1531) | static _consolidateMultipleResponses( method form (line 1641) | get form(): FormsComposite { method nPages (line 1648) | get nPages(): number { method text (line 1657) | get text(): string { method getBlockById (line 1661) | getBlockById(blockId: string): ApiBlock | undefined { method getItemByBlockId (line 1674) | getItemByBlockId( method iterPages (line 1697) | iterPages(): Iterable { method listBlocks (line 1706) | listBlocks(): ApiBlock[] { method listPages (line 1715) | listPages(): Page[] { method pageNumber (line 1724) | pageNumber(pageNum: number): Page { method html (line 1749) | html(opts?: IRenderOpts): string { method str (line 1759) | str(): string { class FormsComposite (line 1764) | class FormsComposite extends FormsCompositeGeneric { method constructor (line 54) | constructor(dict: ApiExpenseFieldType, parentField: ExpenseField) { method confidence (line 59) | get confidence(): number { method confidence (line 62) | set confidence(newVal: number) { method parentField (line 65) | get parentField(): ExpenseField { method text (line 68) | get text(): string { method text (line 71) | set text(newVal: string) { class ExpenseField (line 76) | class ExpenseField extends ApiObjectWrapper { method constructor (line 82) | constructor(dict: ApiExpenseField, parent: ExpenseDocument | ExpenseLi... method fieldType (line 90) | get fieldType(): ExpenseFieldType { method label (line 93) | get label(): ExpenseComponentDetection | null { method pageNumber (line 96) | get pageNumber(): number { method parent (line 99) | get parent(): ExpenseDocument | ExpenseLineItem { method value (line 102) | get value(): ExpenseComponentDetection { class ExpenseLineItem (line 107) | class ExpenseLineItem extends ApiObjectWrapper { method constructor (line 111) | constructor(dict: ApiExpenseLineItem, parentGroup: ExpenseLineItemGrou... method nFields (line 117) | get nFields(): number { method parentGroup (line 120) | get parentGroup(): ExpenseLineItemGroup { method iterFields (line 135) | iterFields(): Iterable { method listFields (line 139) | listFields(): ExpenseField[] { method getFieldByType (line 143) | getFieldByType(fieldType: string): ExpenseField | null { method searchFieldsByType (line 148) | searchFieldsByType(fieldType: string): ExpenseField[] { class ExpenseLineItemGroup (line 153) | class ExpenseLineItemGroup extends ApiObjectWrapper { method listLineItems (line 190) | listLineItems(): ExpenseLineItem[] { class ExpenseDocument (line 200) | class ExpenseDocument extends ApiObjectWrapper { method constructor (line 205) | constructor(dict: ApiExpenseDocument, parentExpense: TextractExpense |... method index (line 215) | get index(): number { method nLineItemGroups (line 218) | get nLineItemGroups(): number { method nSummaryFields (line 221) | get nSummaryFields(): number { method parentExpense (line 224) | get parentExpense(): TextractExpense | null { method getSummaryFieldByType (line 228) | getSummaryFieldByType(fieldType: string): ExpenseField | null { method searchSummaryFieldsByType (line 233) | searchSummaryFieldsByType(fieldType: string): ExpenseField[] { method iterLineItemGroups (line 248) | iterLineItemGroups(): Iterable { method iterSummaryFields (line 263) | iterSummaryFields(): Iterable { method listLineItemGroups (line 267) | listLineItemGroups(): ExpenseLineItemGroup[] { method listSummaryFields (line 271) | listSummaryFields(): ExpenseField[] { class TextractExpense (line 282) | class TextractExpense extends ApiObjectWrapper { method constructor (line 290) | constructor(textractResult: ApiAnalyzeExpenseResponse) { method metadata (line 303) | get metadata(): DocumentMetadata { method nDocs (line 306) | get nDocs(): number { method iterDocs (line 321) | iterDocs(): Iterable { method listDocs (line 325) | listDocs(): ExpenseDocument[] { FILE: src-js/src/form.ts class FieldKeyGeneric (line 32) | class FieldKeyGeneric method constructor (line 39) | constructor(block: ApiKeyBlock | ApiKeyValueSetBlock, parentField: Fie... method geometry (line 45) | get geometry(): Geometry { method confidence (line 58) | get confidence(): number { method getOcrConfidence (line 71) | getOcrConfidence(aggMethod: AggregationMethod = AggregationMethod.Mean... method html (line 80) | html({ includeBlockTypes = null, skipBlockTypes = null }: IRenderOpts ... method str (line 92) | str(): string { class FieldValueGeneric (line 102) | class FieldValueGeneric method constructor (line 115) | constructor(valueBlock: ApiKeyValueSetBlock | ApiValueBlock, parentFie... method confidence (line 127) | get confidence(): number { method geometry (line 130) | get geometry(): Geometry { method selectionStatus (line 163) | get selectionStatus(): ApiSelectionStatus | null { method getOcrConfidence (line 179) | getOcrConfidence(aggMethod: AggregationMethod = AggregationMethod.Mean... method html (line 188) | html({ includeBlockTypes = null, skipBlockTypes = null }: IRenderOpts ... method str (line 200) | str(): string { class FieldGeneric (line 213) | class FieldGeneric method constructor (line 220) | constructor(keyBlock: ApiKeyBlock | ApiKeyValueSetBlock, parentForm: F... method blockType (line 252) | get blockType(): ApiBlockType { method confidence (line 264) | get confidence(): number { method childBlockIds (line 278) | get childBlockIds(): string[] { method dict (line 282) | get dict(): ApiKeyBlock | ApiKeyValueSetBlock { method id (line 286) | get id(): string { method isSelected (line 296) | get isSelected(): boolean | null { method isCheckbox (line 305) | get isCheckbox(): boolean { method key (line 308) | get key(): FieldKeyGeneric { method parentForm (line 311) | get parentForm(): FormGeneric { method parentPage (line 314) | get parentPage(): TPage { method selectionStatus (line 323) | get selectionStatus(): ApiSelectionStatus | null { method text (line 326) | get text(): string { method value (line 329) | get value(): FieldValueGeneric | null { method getOcrConfidence (line 343) | getOcrConfidence(aggMethod: AggregationMethod = AggregationMethod.Mean... method relatedBlockIdsByRelType (line 351) | relatedBlockIdsByRelType(relType: ApiRelationshipType | ApiRelationshi... method html (line 361) | html(opts?: IRenderOpts): string { method str (line 379) | str(): string { class FormGeneric (line 392) | class FormGeneric implements IRenderable { method constructor (line 397) | constructor(keyBlocks: Array, paren... method nFields (line 418) | get nFields(): number { method parentPage (line 421) | get parentPage(): TPage { method text (line 424) | get text(): string { method getFieldByKey (line 430) | getFieldByKey(key: string): FieldGeneric | null { method html (line 439) | html(opts: IRenderOpts = {}): string { method iterFields (line 456) | iterFields(skipFieldsWithoutKey = false): Iterable> { method listFields (line 464) | listFields(skipFieldsWithoutKey = false): FieldGeneric[] { method searchFieldsByKey (line 472) | searchFieldsByKey(key: string): FieldGeneric[] { method str (line 477) | str(): string { class FormsCompositeGeneric (line 491) | class FormsCompositeGeneric[], parentDocument: TDocument) { method nFields (line 502) | get nFields(): number { method parentDocument (line 505) | get parentDocument(): TDocument { method text (line 508) | get text(): string { method getFieldByKey (line 512) | getFieldByKey(key: string): FieldGeneric | null { method html (line 525) | html(): string { method iterFields (line 548) | iterFields(skipFieldsWithoutKey = false): Iterable> { method listFields (line 556) | listFields(skipFieldsWithoutKey = false): FieldGeneric[] { method searchFieldsByKey (line 569) | searchFieldsByKey(key: string): FieldGeneric[] { method str (line 573) | str(): string { type IWithForm (line 581) | interface IWithForm { type IWithFormsComposite (line 591) | interface IWithFormsComposite | null { method top (line 55) | get top(): number { method right (line 61) | get right(): number { method vCenter (line 67) | get vCenter(): number { method width (line 73) | get width(): number { method union (line 81) | union(other: BoundingBox>): BoundingBox(other: BoundingBox>): BoundingB... method str (line 126) | str(): string { class Point (line 134) | class Point< method constructor (line 140) | constructor(dict: ApiPoint, parentGeometry: Geometry | null { method x (line 154) | get x(): number { method y (line 160) | get y(): number { method str (line 167) | str(): string { class Geometry (line 175) | class Geometry< method constructor (line 183) | constructor(dict: ApiGeometry, parentObject: TParent | null) { method boundingBox (line 193) | get boundingBox(): BoundingBox { method parentObject (line 199) | get parentObject(): TParent | null { method polygon (line 208) | get polygon(): Point[] { method orientationRadians (line 218) | orientationRadians(): number | null { method orientationDegrees (line 229) | orientationDegrees(): number | null { method str (line 238) | str(): string { type IWithGeometry (line 246) | interface IWithGeometry { method constructor (line 66) | constructor(dict: ApiIdentityDocumentField, parentDocument: IdDocument... method isValueNormalized (line 71) | get isValueNormalized(): boolean { method fieldTypeRaw (line 77) | get fieldTypeRaw(): string | undefined { method fieldType (line 83) | get fieldType(): IdFieldType { method parentDocument (line 96) | get parentDocument(): IdDocument | undefined { method value (line 102) | get value(): string { method valueConfidence (line 106) | get valueConfidence(): number { method valueRaw (line 112) | get valueRaw(): string | undefined { method valueType (line 118) | get valueType(): IdFieldValueType { method str (line 131) | str(): string { class IdDocument (line 141) | class IdDocument extends ApiObjectWrapper { method constructor (line 146) | constructor(dict: ApiIdentityDocument, parentResult: TextractIdentity ... method index (line 157) | get index(): number { method idType (line 164) | get idType(): IdDocumentType { method nFields (line 172) | get nFields(): number { method parentCollection (line 178) | get parentCollection(): TextractIdentity | undefined { method getFieldByType (line 182) | getFieldByType(fieldType: IdFieldType): IdDocumentField | undefined { method iterFields (line 196) | iterFields(): Iterable { method listFields (line 203) | listFields(): IdDocumentField[] { method str (line 210) | str(): string { class TextractIdentity (line 222) | class TextractIdentity extends ApiObjectWrapper { method constructor (line 229) | constructor(dict: ApiAnalyzeIdResponse) { method modelVersion (line 234) | get modelVersion(): string { method nDocuments (line 241) | get nDocuments(): number { method nPages (line 245) | get nPages(): number { method getDocAtIndex (line 253) | getDocAtIndex(index: number): IdDocument { method iterDocuments (line 270) | iterDocuments(): Iterable { method listDocuments (line 277) | listDocuments(): IdDocument[] { method str (line 284) | str(): string { FILE: src-js/src/layout.ts type ILayoutItem (line 50) | interface ILayoutItem< class LayoutItemBaseGeneric (line 150) | class LayoutItemBaseGeneric< method constructor (line 164) | constructor(block: TBlock, parentLayout: LayoutGeneric) { method confidence (line 170) | get confidence(): number { method geometry (line 173) | get geometry(): Geometry { method iterLayoutChildren (line 185) | iterLayoutChildren( method listLayoutChildren (line 197) | listLayoutChildren({ class LayoutLineContainerItem (line 257) | class LayoutLineContainerItem< method getText (line 267) | override getText(opts?: IBlockTypeFilterOpts) { method iterTextLines (line 289) | iterTextLines(): Iterable> { method listTextLines (line 299) | listTextLines(): Array> { method nTextLines (line 310) | get nTextLines(): number { class LayoutFigureGeneric (line 320) | class LayoutFigureGeneric< method html (line 341) | html(opts?: IBlockTypeFilterOpts): string { method str (line 351) | str(): string { class LayoutFooterGeneric (line 361) | class LayoutFooterGeneric< method html (line 382) | html(opts?: IBlockTypeFilterOpts): string { method str (line 389) | str(): string { class LayoutHeaderGeneric (line 399) | class LayoutHeaderGeneric< method html (line 420) | html(opts?: IBlockTypeFilterOpts): string { method str (line 427) | str(): string { class LayoutKeyValueGeneric (line 437) | class LayoutKeyValueGeneric< method _listContentIdsInFormField (line 462) | protected _listContentIdsInFormField(fiel... method _mapPageContentToFormFields (line 477) | protected _mapPageContentToFormFields(): { [blockId: string]: FieldGen... method iterFields (line 502) | iterFields(): Iterable> { method listFields (line 513) | listFields(): FieldGeneric[] { method html (line 543) | html(opts?: IBlockTypeFilterOpts): string { method str (line 575) | str(): string { class LayoutPageNumberGeneric (line 585) | class LayoutPageNumberGeneric< method html (line 604) | html(opts?: IBlockTypeFilterOpts): string { method str (line 611) | str(): string { class LayoutSectionHeaderGeneric (line 621) | class LayoutSectionHeaderGeneric< method html (line 640) | html(opts?: IBlockTypeFilterOpts): string { method str (line 647) | str(): string { class LayoutTableGeneric (line 657) | class LayoutTableGeneric< method _listContentIdsInTable (line 682) | protected _listContentIdsInTable(table: T... method _mapPageContentToTables (line 728) | protected _mapPageContentToTables(): { [blockId: string]: TableGeneric... method iterTables (line 753) | iterTables(): Iterable> { method listTables (line 764) | listTables(): TableGeneric[] { method html (line 793) | html(opts?: IBlockTypeFilterOpts): string { method str (line 825) | str(): string { class LayoutTextGeneric (line 837) | class LayoutTextGeneric< method html (line 856) | html(opts?: IBlockTypeFilterOpts): string { method str (line 866) | str(): string { class LayoutTitleGeneric (line 876) | class LayoutTitleGeneric< method html (line 895) | html(opts?: IBlockTypeFilterOpts): string { method str (line 902) | str(): string { class LayoutListGeneric (line 912) | class LayoutListGeneric< method html (line 950) | html(opts?: IBlockTypeFilterOpts): string { method iterTextLines (line 971) | iterTextLines(): Iterable> { method listTextLines (line 978) | listTextLines(): Array> { method str (line 1017) | str(): string { method nTextLines (line 1024) | get nTextLines(): number { method text (line 1030) | override get text(): string { type LayoutItemGeneric (line 1040) | type LayoutItemGeneric< class LayoutGeneric (line 1063) | class LayoutGeneric< method constructor (line 1074) | constructor(parentPage: TPage) { method nItems (line 1124) | get nItems(): number { method nItemsDirect (line 1133) | get nItemsDirect(): number { method nItemsTotal (line 1142) | get nItemsTotal(): number { method parentPage (line 1148) | get parentPage(): TPage { method text (line 1154) | get text(): string { method html (line 1166) | html(opts?: IRenderOpts): string { method iterItems (line 1176) | iterItems({ method listItems (line 1190) | listItems({ method str (line 1236) | str(): string { FILE: src-js/src/query.ts class QueryResultGeneric (line 28) | class QueryResultGeneric method constructor (line 35) | constructor(block: ApiQueryResultBlock, parentQuery: QueryInstanceGene... method confidence (line 41) | get confidence(): number { method geometry (line 47) | get geometry(): undefined | Geometry { method text (line 53) | get text(): string { method html (line 60) | html(opts?: IRenderOpts): string { method str (line 65) | str(): string { class QueryInstanceGeneric (line 75) | class QueryInstanceGeneric method constructor (line 79) | constructor(block: ApiQueryBlock, parentPage: TPage) { method alias (line 104) | get alias(): string | undefined { method nResults (line 107) | get nResults(): number { method text (line 114) | get text(): string { method topResult (line 121) | get topResult(): QueryResultGeneric | undefined { method _listResults (line 138) | protected _listResults(): QueryResultGeneric[] { method listResultsByConfidence (line 153) | listResultsByConfidence(): QueryResultGeneric[] { method html (line 168) | html(opts?: IRenderOpts): string { method str (line 187) | str(): string { type IFilterQueryOpts (line 197) | interface IFilterQueryOpts { class QueryInstanceCollectionGeneric (line 209) | class QueryInstanceCollectionGeneric implem... method constructor (line 213) | constructor(queryBlocks: ApiQueryBlock[], parentPage: TPage) { method nQueries (line 222) | get nQueries(): number { method parentPage (line 225) | get parentPage(): TPage { method text (line 232) | get text(): string { method getQueryByAlias (line 249) | getQueryByAlias(alias: string): QueryInstanceGeneric | undefined { method getQueryByQuestion (line 259) | getQueryByQuestion(question: string): QueryInstanceGeneric | un... method html (line 267) | html(opts?: IRenderOpts): string { method iterQueries (line 289) | iterQueries(opts: IFilterQueryOpts = {}): Iterable[] { method searchQueriesByAlias (line 306) | searchQueriesByAlias(alias: string, opts: IFilterQueryOpts = {}): Quer... method searchQueriesByQuestion (line 317) | searchQueriesByQuestion(question: string, opts: IFilterQueryOpts = {})... method str (line 326) | str(): string { FILE: src-js/src/table.ts class CellBaseGeneric (line 42) | class CellBaseGeneric) { method geometry (line 58) | get geometry(): Geometry> { method parentTable (line 64) | get parentTable(): TableGeneric { type ICellBaseProps (line 72) | interface ICellBaseProps { function WithCellBaseProps (line 122) | function WithCellBaseProps< class CellGeneric (line 235) | class CellGeneric method constructor (line 242) | constructor(block: ApiCellBlock, parentTable: TableGeneric) { class MergedCellGeneric (line 258) | class MergedCellGeneric extends WithCellBas... method constructor (line 261) | constructor(block: ApiMergedCellBlock, parentTable: TableGeneric[] { method iterContent (line 282) | override iterContent(opts: IBlockTypeFilterOpts = {}): Iterable> { class RowGeneric (line 340) | class RowGeneric { method constructor (line 344) | constructor( method nCells (line 355) | get nCells(): number { method parentTable (line 361) | get parentTable(): TableGeneric { method text (line 367) | get text(): string { method getConfidence (line 380) | getConfidence(aggMethod: AggregationMethod = AggregationMethod.Mean): ... method getOcrConfidence (line 396) | getOcrConfidence(aggMethod: AggregationMethod = AggregationMethod.Mean... method iterCells (line 414) | iterCells(): Iterable | MergedCellGeneric> { method listCells (line 421) | listCells(): Array | MergedCellGeneric> { method str (line 428) | str(): string { type IGetCellOptions (line 436) | interface IGetCellOptions { type IGetRowOptions (line 446) | interface IGetRowOptions { class TableFooterGeneric (line 463) | class TableFooterGeneric method confidence (line 470) | get confidence(): number { method html (line 480) | html({ includeBlockTypes = null, skipBlockTypes = null }: IRenderOpts ... method str (line 485) | str(): string { class TableTitleGeneric (line 495) | class TableTitleGeneric method confidence (line 502) | get confidence(): number { method html (line 512) | html({ includeBlockTypes = null, skipBlockTypes = null }: IRenderOpts ... method str (line 517) | str(): string { class TableGeneric (line 527) | class TableGeneric extends PageHostedApiBlo... method constructor (line 538) | constructor(block: ApiTableBlock, parentPage: TPage) { method _sortCellsByLocation (line 601) | _sortCellsByLocation | MergedCellGeneric<... method _updateCellsById (line 608) | _updateCellsById(): void { method _getSplitCellByBlockId (line 625) | _getSplitCellByBlockId(id: string): CellGeneric { method cellAt (line 647) | cellAt( method cellsAt (line 677) | cellsAt( method getOcrConfidence (line 720) | getOcrConfidence(aggMethod: AggregationMethod = AggregationMethod.Mean... method iterFooters (line 730) | iterFooters(): Iterable> { method iterRows (line 750) | iterRows(opts: IGetRowOptions = {}): Iterable> { method iterTitles (line 777) | iterTitles(): Iterable> { method listFooters (line 784) | listFooters(): TableFooterGeneric[] { method listRows (line 795) | listRows(opts: IGetRowOptions = {}): RowGeneric[] { method listTitles (line 802) | listTitles(): TableTitleGeneric[] { method rowAt (line 814) | rowAt(rowIndex: number, opts: IGetRowOptions = {}): RowGeneric { method confidence (line 829) | get confidence(): number { method confidence (line 832) | set confidence(newVal: number) { method firstFooter (line 841) | get firstFooter(): TableFooterGeneric | undefined { method firstTitle (line 851) | get firstTitle(): TableTitleGeneric | undefined { method geometry (line 858) | get geometry(): Geometry> { method nCells (line 866) | get nCells(): number { method nColumns (line 874) | get nColumns(): number { method nRows (line 880) | get nRows(): number { method tableType (line 894) | get tableType(): ApiTableEntityType | null { method text (line 913) | get text(): string { method html (line 926) | html(opts?: IRenderOpts): string { method str (line 990) | str(): string { type IWithTables (line 1003) | interface IWithTables { FILE: src-js/test/unit/base.test.ts constant PRECISION_DPS (line 26) | const PRECISION_DPS = 10; FILE: src-js/test/unit/content.test.ts constant EXAMPLE_WORD_BLOCK (line 21) | const EXAMPLE_WORD_BLOCK: ApiWordBlock = { constant EXAMPLE_SELECT_BLOCK (line 55) | const EXAMPLE_SELECT_BLOCK: ApiSelectionElementBlock = { constant EXAMPLE_SIG_BLOCK (line 88) | const EXAMPLE_SIG_BLOCK: ApiSignatureBlock = { constant EXAMPLE_LINE_BLOCK (line 120) | const EXAMPLE_LINE_BLOCK: ApiLineBlock = { class DummyPage (line 165) | class DummyPage implements IBlockManager { method constructor (line 170) | constructor(blocks: ApiBlock[], items: any[] | undefined = undefined) { method parentDocument (line 175) | get parentDocument() { method getItemByBlockId (line 180) | getItemByBlockId(id: string): any { method getBlockById (line 191) | getBlockById(id: string): ApiBlock | undefined { method listBlocks (line 195) | listBlocks(): ApiBlock[] { method registerParsedItem (line 199) | registerParsedItem(blockId: string, item: IApiBlockWrapper):... class ErrLine (line 662) | class ErrLine extends WithWords(PageHostedApiBlockWrapper, { class ItemWithWords (line 701) | class ItemWithWords extends WithWords(PageHostedApiBlockWrapper) constant REFERENCE_QUERY_STR (line 17) | const REFERENCE_QUERY_STR = `Query constant REFERENCE_QUERIES_HTML (line 23) | const REFERENCE_QUERIES_HTML = `
FILE: src-js/test/unit/table.test.ts constant REFERENCE_TABLE_NO_CAPTION_HTML (line 20) | const REFERENCE_TABLE_NO_CAPTION_HTML = ` constant REFERENCE_TABLE_WITH_HEADER_HTML (line 58) | const REFERENCE_TABLE_WITH_HEADER_HTML = `
FILE: src-python/a2i/a2irp.py class Word (line 3) | class Word: method __init__ (line 4) | def __init__(self, block, blockMap): method __str__ (line 11) | def __str__(self): method id (line 15) | def id(self): method text (line 19) | def text(self): method block (line 23) | def block(self): class FieldKey (line 26) | class FieldKey: method __init__ (line 27) | def __init__(self, block, children, blockMap): method __str__ (line 45) | def __str__(self): method id (line 49) | def id(self): method content (line 53) | def content(self): method text (line 57) | def text(self): method block (line 61) | def block(self): class FieldValue (line 64) | class FieldValue: method __init__ (line 65) | def __init__(self, block, children, blockMap): method __str__ (line 83) | def __str__(self): method id (line 87) | def id(self): method content (line 91) | def content(self): method text (line 95) | def text(self): method block (line 99) | def block(self): class Field (line 102) | class Field: method __init__ (line 103) | def __init__(self, block, blockMap): method __str__ (line 118) | def __str__(self): method key (line 130) | def key(self): method value (line 134) | def value(self): class Form (line 137) | class Form: method __init__ (line 138) | def __init__(self): method addField (line 142) | def addField(self, field): method __str__ (line 146) | def __str__(self): method fields (line 153) | def fields(self): method getFieldByKey (line 156) | def getFieldByKey(self, key): method searchFieldsByKey (line 162) | def searchFieldsByKey(self, key): class Page (line 170) | class Page: method __init__ (line 172) | def __init__(self, blocks, blockMap): method __str__ (line 181) | def __str__(self): method _parse (line 187) | def _parse(self, blockMap): method blocks (line 201) | def blocks(self): method text (line 205) | def text(self): method lines (line 209) | def lines(self): method form (line 213) | def form(self): method tables (line 217) | def tables(self): method content (line 221) | def content(self): method id (line 225) | def id(self): class Document (line 228) | class Document: method __init__ (line 230) | def __init__(self, responsePages): method __str__ (line 242) | def __str__(self): method _parseDocumentPagesAndBlockMap (line 248) | def _parseDocumentPagesAndBlockMap(self): method _parse (line 272) | def _parse(self): method blocks (line 280) | def blocks(self): method pageBlocks (line 284) | def pageBlocks(self): method pages (line 288) | def pages(self): method getBlockById (line 291) | def getBlockById(self, blockId): FILE: src-python/a2i/a2irptest.py function processDocument (line 5) | def processDocument(doc): function run (line 32) | def run(): FILE: src-python/setup.py function read (line 6) | def read(fname): FILE: src-python/tests/test_base_trp2.py function test_relationship_recursive_with_lru_cache (line 21) | def test_relationship_recursive_with_lru_cache(caplog): function test_selection_elements (line 33) | def test_selection_elements(caplog): FILE: src-python/tests/test_merged.py function test_merged_cells (line 17) | def test_merged_cells(file_path, len_pages): FILE: src-python/tests/test_t_tables.py function test_table_header_compare (line 14) | def test_table_header_compare(): function test_execute_table_validations (line 43) | def test_execute_table_validations(): FILE: src-python/tests/test_trp.py function return_json_for_file (line 11) | def return_json_for_file(filename): function json_response (line 17) | def json_response(): function test_words (line 21) | def test_words(json_response): function test_tables (line 30) | def test_tables(json_response): function test_forms (line 35) | def test_forms(json_response): function test_table_with_headers_and_merged_cells (line 40) | def test_table_with_headers_and_merged_cells(caplog): function test_table_with_headers_and_merged_cells_out_of_order_cells (line 54) | def test_table_with_headers_and_merged_cells_out_of_order_cells(caplog): function test_tables_after_sort_cells (line 72) | def test_tables_after_sort_cells(): function _test_table_with_merged_cells (line 88) | def _test_table_with_merged_cells(datafile, expected_merged_cells): function test_table_with_merged_cells_1 (line 109) | def test_table_with_merged_cells_1(caplog): function test_table_with_merged_cells_2 (line 123) | def test_table_with_merged_cells_2(caplog): function test_table_with_header (line 129) | def test_table_with_header(caplog): function test_signature (line 146) | def test_signature(caplog): function test_2023_q1_table_model (line 155) | def test_2023_q1_table_model(caplog): function test_2023_q2_table_model (line 172) | def test_2023_q2_table_model(caplog): function test_issue_83 (line 193) | def test_issue_83(caplog): FILE: src-python/tests/test_trp2.py function return_json_for_file (line 18) | def return_json_for_file(filename): function json_response (line 24) | def json_response(): function test_serialization (line 28) | def test_serialization(): function test_tblock_order_blocks_by_geo (line 45) | def test_tblock_order_blocks_by_geo(): function test_tblock_order_block_by_geo_multi_page (line 57) | def test_tblock_order_block_by_geo_multi_page(): function test_tblock_order_blocks_by_geo_x_y (line 68) | def test_tblock_order_blocks_by_geo_x_y(): function test_tblock (line 80) | def test_tblock(): function test_custom_tblock (line 92) | def test_custom_tblock(): function test_custom_page_orientation (line 101) | def test_custom_page_orientation(json_response): function test_empty_page_orientation (line 176) | def test_empty_page_orientation(): function test_filter_blocks_by_type (line 209) | def test_filter_blocks_by_type(): function test_empty_page_get_blocks_by_type (line 215) | def test_empty_page_get_blocks_by_type(): function test_next_token_response (line 252) | def test_next_token_response(): function test_rotate_point (line 262) | def test_rotate_point(): function test_rotate (line 296) | def test_rotate(): function test_adjust_bounding_boxes_and_polygons_to_orientation (line 313) | def test_adjust_bounding_boxes_and_polygons_to_orientation(): function test_scale (line 366) | def test_scale(caplog): function test_ratio (line 382) | def test_ratio(caplog): function test_tbbox_union (line 405) | def test_tbbox_union(): function test_get_blocks_for_relationship (line 431) | def test_get_blocks_for_relationship(caplog): function test_block_id_map (line 458) | def test_block_id_map(): function test_block_id_map_no_content (line 479) | def test_block_id_map_no_content(): function test_block_map (line 517) | def test_block_map(): function test_find_block_by_id (line 541) | def test_find_block_by_id(): function test_get_block_by_id (line 551) | def test_get_block_by_id(): function test_pages (line 562) | def test_pages(): function test_pages_no_pagenums (line 571) | def test_pages_no_pagenums(): function test_pages_out_of_order (line 615) | def test_pages_out_of_order(): function test_add_ids_to_relationships (line 661) | def test_add_ids_to_relationships(caplog): function test_key_value_set_key_name (line 684) | def test_key_value_set_key_name(caplog): function test_get_relationships_for_type (line 704) | def test_get_relationships_for_type(caplog): function test_merge_tables (line 726) | def test_merge_tables(): function test_add_block (line 748) | def test_add_block(): function test_delete_blocks (line 766) | def test_delete_blocks(): function test_link_tables (line 787) | def test_link_tables(): function test_pipeline_merge_tables (line 799) | def test_pipeline_merge_tables(): function test_pipeline_merge_multiple_tables (line 819) | def test_pipeline_merge_multiple_tables(): function test_kv_ocr_confidence (line 839) | def test_kv_ocr_confidence(caplog): function test_get_answers_for_query (line 861) | def test_get_answers_for_query(caplog): function test_table_with_headers_and_merged_cells (line 874) | def test_table_with_headers_and_merged_cells(caplog): function test_bla (line 884) | def test_bla(caplog): function test_add_key_values_new_value_blocks (line 902) | def test_add_key_values_new_value_blocks(caplog): function test_add_virtual_key_for_existing_key_multi_page (line 915) | def test_add_virtual_key_for_existing_key_multi_page(caplog): function test_paystub_with_signature (line 952) | def test_paystub_with_signature(caplog): function test_2023_q1_table_model (line 961) | def test_2023_q1_table_model(caplog): function test_180_degree_orientation_page_and_based_on_words (line 985) | def test_180_degree_orientation_page_and_based_on_words(caplog): function test_large_json (line 1000) | def test_large_json(caplog): function test_process_tables_timing (line 1009) | def test_process_tables_timing(caplog): function test_tdoc_signature (line 1076) | def test_tdoc_signature(caplog): function test_lines_in_order (line 1086) | def test_lines_in_order(caplog): function test_create_geometry_from_blocks (line 1099) | def test_create_geometry_from_blocks(caplog): FILE: src-python/tests/test_trp2_analyzeid.py function return_json_for_file (line 10) | def return_json_for_file(filename): function json_response_1 (line 16) | def json_response_1(): function json_response_3 (line 21) | def json_response_3(): function json_response_multi_page (line 26) | def json_response_multi_page(): function json_response_2 (line 31) | def json_response_2(): function test_analyzeid_serialization (line 35) | def test_analyzeid_serialization(caplog, json_response_1): function test_analyzeid_serialization_empty (line 45) | def test_analyzeid_serialization_empty(caplog, json_response_2): function test_analyzeid_serialization_multi_page (line 52) | def test_analyzeid_serialization_multi_page(caplog, json_response_multi_... function test_analyzeid_serialization_with_OCR (line 66) | def test_analyzeid_serialization_with_OCR(caplog, json_response_3): FILE: src-python/tests/test_trp2_expense.py function return_json_for_file (line 10) | def return_json_for_file(filename): function json_response_1 (line 16) | def json_response_1(): function json_response_2 (line 20) | def json_response_2(): function test_serialization (line 23) | def test_serialization(caplog, json_response_1): function test_multipage (line 36) | def test_multipage(caplog, json_response_2): function test_generate_multipage_text (line 41) | def test_generate_multipage_text(caplog, json_response_2): FILE: src-python/tests/test_trp2_lending.py function test_tblock (line 9) | def test_tblock(caplog): function test_tblock_no_signature (line 18) | def test_tblock_no_signature(caplog): FILE: src-python/textract-mapping/mapping.py function Document (line 1) | def Document(response_pages): FILE: src-python/textract-mapping/mappingtest.py function run (line 5) | def run(): FILE: src-python/trp/__init__.py class BaseBlock (line 17) | class BaseBlock(): method __init__ (line 19) | def __init__(self, block, blockMap): method __str__ (line 33) | def __str__(self): method custom (line 37) | def custom(self): method confidence (line 41) | def confidence(self): method geometry (line 45) | def geometry(self): method id (line 49) | def id(self): method text (line 53) | def text(self): method text (line 57) | def text(self, text): method block (line 61) | def block(self): method textType (line 65) | def textType(self): class BoundingBox (line 69) | class BoundingBox: method __init__ (line 71) | def __init__(self, width, height, left, top): method __str__ (line 77) | def __str__(self): method width (line 81) | def width(self): method height (line 85) | def height(self): method left (line 89) | def left(self): method top (line 93) | def top(self): class Polygon (line 97) | class Polygon: method __init__ (line 99) | def __init__(self, x, y): method __str__ (line 103) | def __str__(self): method x (line 107) | def x(self): method y (line 111) | def y(self): class Geometry (line 115) | class Geometry: method __init__ (line 117) | def __init__(self, geometry): method __str__ (line 128) | def __str__(self): method boundingBox (line 133) | def boundingBox(self): method polygon (line 137) | def polygon(self): class Word (line 141) | class Word(BaseBlock): method __init__ (line 143) | def __init__(self, block, blockMap): class Line (line 147) | class Line(BaseBlock): method __init__ (line 149) | def __init__(self, block, blockMap): method __str__ (line 160) | def __str__(self): method words (line 169) | def words(self): class SelectionElement (line 173) | class SelectionElement: method __init__ (line 175) | def __init__(self, block, blockMap): method confidence (line 182) | def confidence(self): method geometry (line 186) | def geometry(self): method id (line 190) | def id(self): method selectionStatus (line 194) | def selectionStatus(self): class FieldKey (line 198) | class FieldKey(BaseBlock): method __init__ (line 200) | def __init__(self, block, children, blockMap): method content (line 217) | def content(self): class FieldValue (line 221) | class FieldValue(BaseBlock): method __init__ (line 223) | def __init__(self, block, children, blockMap): method content (line 244) | def content(self): class Field (line 248) | class Field(BaseBlock): method __init__ (line 250) | def __init__(self, block, blockMap): method __str__ (line 270) | def __str__(self): method key (line 282) | def key(self): method value (line 286) | def value(self): class Form (line 290) | class Form: method __init__ (line 292) | def __init__(self): method addField (line 296) | def addField(self, field): method __str__ (line 300) | def __str__(self): method fields (line 307) | def fields(self): method getFieldByKey (line 310) | def getFieldByKey(self, key): method searchFieldsByKey (line 316) | def searchFieldsByKey(self, key): class BaseCell (line 325) | class BaseCell(BaseBlock): method __init__ (line 327) | def __init__(self, block, blockMap): method rowIndex (line 338) | def rowIndex(self): method columnIndex (line 342) | def columnIndex(self): method rowSpan (line 346) | def rowSpan(self): method columnSpan (line 350) | def columnSpan(self): method content (line 354) | def content(self): method entityTypes (line 358) | def entityTypes(self): class Cell (line 363) | class Cell(BaseCell): method __init__ (line 365) | def __init__(self, block, blockMap): method mergedText (line 387) | def mergedText(self): class MergedCell (line 394) | class MergedCell(BaseCell): method __init__ (line 396) | def __init__(self, block, blockMap, rows): class Row (line 420) | class Row: method __init__ (line 422) | def __init__(self): method __str__ (line 425) | def __str__(self): method cells (line 432) | def cells(self): method cells (line 436) | def cells(self, cells: List[Cell]): method merged_cells (line 440) | def merged_cells(self): class Table (line 444) | class Table(BaseBlock): method __init__ (line 446) | def __init__(self, block, blockMap): method __str__ (line 469) | def __str__(self): method _resolve_merged_cells (line 476) | def _resolve_merged_cells(self, blockMap): method get_header_field_names (line 481) | def get_header_field_names(self): method rows (line 495) | def rows(self) -> List[Row]: method header (line 499) | def header(self) -> List[List[Cell]]: method rows_without_header (line 513) | def rows_without_header(self) -> List[Row]: method merged_cells (line 526) | def merged_cells(self) -> List[MergedCell]: class Page (line 530) | class Page: method __init__ (line 532) | def __init__(self, blocks, blockMap): method __str__ (line 543) | def __str__(self): method _parse (line 549) | def _parse(self, blockMap): method getLinesInReadingOrder (line 576) | def getLinesInReadingOrder(self): method getTextInReadingOrder (line 602) | def getTextInReadingOrder(self): method blocks (line 610) | def blocks(self): method text (line 614) | def text(self): method lines (line 618) | def lines(self): method form (line 622) | def form(self): method tables (line 626) | def tables(self): method content (line 630) | def content(self): method geometry (line 634) | def geometry(self): method id (line 638) | def id(self): method custom (line 642) | def custom(self): class Document (line 646) | class Document: method __init__ (line 648) | def __init__(self, responsePages): method __str__ (line 660) | def __str__(self): method _parseDocumentPagesAndBlockMap (line 666) | def _parseDocumentPagesAndBlockMap(self): method _parse (line 691) | def _parse(self): method blocks (line 699) | def blocks(self): method pageBlocks (line 703) | def pageBlocks(self): method pages (line 707) | def pages(self): method getBlockById (line 710) | def getBlockById(self, blockId): FILE: src-python/trp/t_pipeline.py function order_blocks_by_geo (line 10) | def order_blocks_by_geo(t_document: t2.TDocument) -> t2.TDocument: function order_blocks_by_geo_x_y (line 28) | def order_blocks_by_geo_x_y(t_document: t2.TDocument) -> t2.TDocument: function add_kv_ocr_confidence (line 80) | def add_kv_ocr_confidence(t_document: t2.TDocument) -> t2.TDocument: function __get_degree_from_polygon (line 113) | def __get_degree_from_polygon(poly: List[t2.TPoint] = None) -> float: function add_orientation_to_blocks (line 124) | def add_orientation_to_blocks(t_document: t2.TDocument) -> t2.TDocument: function add_page_orientation (line 136) | def add_page_orientation(t_document: t2.TDocument) -> t2.TDocument: function add_image_size (line 156) | def add_image_size(t_document: t2.TDocument) -> t2.TDocument: function rotate_points_to_page_orientation (line 159) | def rotate_points_to_page_orientation(t_document:t2.TDocument)->t2.TDocu... function pipeline_merge_tables (line 175) | def pipeline_merge_tables(t_document: t2.TDocument, FILE: src-python/trp/t_tables.py class MergeOptions (line 9) | class MergeOptions(Enum): class HeaderFooterType (line 14) | class HeaderFooterType(Enum): function __validate_objects_between_tables (line 23) | def __validate_objects_between_tables(page1, page1_table, page2, page2_t... function __compare_table_column_numbers (line 39) | def __compare_table_column_numbers(table_1, table_2): function __compare_table_headers (line 51) | def __compare_table_headers(table_1, table_2): function __calculate_percentage_difference (line 60) | def __calculate_percentage_difference(measure_1, measure_2): function __compare_table_dimensions (line 70) | def __compare_table_dimensions(table_1, table_2, accuracy_percentage): function ExecuteTableValidations (line 83) | def ExecuteTableValidations(t_doc: t2.TDocument, header_footer_type: Hea... FILE: src-python/trp/trp2.py class BaseSchema (line 22) | class BaseSchema(m.Schema): method remove_skip_values (line 30) | def remove_skip_values(self, data, many, pass_many=False): class TextractBlockTypes (line 38) | class TextractBlockTypes(Enum): class TextractEntityTypes (line 65) | class TextractEntityTypes(Enum): class TPoint (line 71) | class TPoint(): method __init__ (line 75) | def __init__(self, x: float, y: float) -> None: method scale (line 79) | def scale(self, doc_width, doc_height): method ratio (line 83) | def ratio(self, doc_width, doc_height): method to_list (line 87) | def to_list(self) -> List[float]: method rotate (line 95) | def rotate(self, class TBoundingBox (line 122) | class TBoundingBox(): method __init__ (line 128) | def __init__(self, height: float, width: float, left: float, top: floa... method scale (line 134) | def scale(self, doc_width, doc_height): method ratio (line 140) | def ratio(self, doc_width, doc_height): method points (line 147) | def points(self) -> List[TPoint]: method bottom (line 156) | def bottom(self) -> float: method right (line 160) | def right(self) -> float: method centre (line 164) | def centre(self) -> TPoint: method to_list (line 170) | def to_list(self) -> List[float]: method union (line 179) | def union(self, bbox: TBoundingBox) -> TBoundingBox: method rotate (line 211) | def rotate(self, origin: TPoint = TPoint(0, 0), degrees: float = 180) ... class TBoundingBoxSchema (line 242) | class TBoundingBoxSchema(BaseSchema): method make_tbounding_box (line 249) | def make_tbounding_box(self, data, **kwargs): class TPointSchema (line 253) | class TPointSchema(BaseSchema): method make_tpoint (line 258) | def make_tpoint(self, data, **kwargs): class TGeometry (line 263) | class TGeometry(): method ratio (line 267) | def ratio(self, doc_width=None, doc_height=None): method rotate (line 271) | def rotate(self, origin: TPoint = TPoint(0, 0), degrees: float = 180.0): method scale (line 275) | def scale(self, doc_width=None, doc_height=None): class TGeometrySchema (line 280) | class TGeometrySchema(BaseSchema): method make_tgeometry (line 285) | def make_tgeometry(self, data, **kwargs): class TQuery (line 290) | class TQuery: class TQuerySchema (line 295) | class TQuerySchema(BaseSchema): method make_tquery (line 300) | def make_tquery(self, data, **kwargs): class TRelationship (line 305) | class TRelationship(): class TRelationshipSchema (line 310) | class TRelationshipSchema(BaseSchema): method make_trelationship (line 315) | def make_trelationship(self, data, **kwargs): class TBlock (line 320) | class TBlock(): method __eq__ (line 342) | def __eq__(self, o: object) -> bool: method __hash__ (line 347) | def __hash__(self) -> int: method get_relationships_for_type (line 350) | def get_relationships_for_type(self, relationship_type="CHILD") -> Opt... method add_ids_to_relationships (line 358) | def add_ids_to_relationships(self, ids: List[str], relationships_type:... method rotate (line 373) | def rotate(self, origin=TPoint(0.5, 0.5), degrees: float = 180): class TBlockSchema (line 377) | class TBlockSchema(BaseSchema): method make_tblock (line 396) | def make_tblock(self, data, **kwargs): class TDocumentMetadata (line 401) | class TDocumentMetadata(): class TDocumentMetadataSchema (line 405) | class TDocumentMetadataSchema(BaseSchema): method make_tdocument_metadat (line 409) | def make_tdocument_metadat(self, data, **kwargs): class TWarnings (line 414) | class TWarnings(): class TWarningsSchema (line 419) | class TWarningsSchema(BaseSchema): method make_twarnings (line 424) | def make_twarnings(self, data, **kwargs): class THttpHeaders (line 429) | class THttpHeaders(): class TResponseMetadata (line 438) | class TResponseMetadata(): class TDocument (line 446) | class TDocument(): method __post_init__ (line 460) | def __post_init__(self): #this is a dataclass method method __hash__ (line 491) | def __hash__(self): method block_id_map (line 494) | def block_id_map(self, block_type: Optional[TextractBlockTypes] = None... method block_map (line 504) | def block_map(self, block_type: Optional[TextractBlockTypes] = None) -... method add_block (line 513) | def add_block(self, block: TBlock, page: TBlock = None): #type: ignore method create_geometry_from_blocks (line 538) | def create_geometry_from_blocks(values: List[TBlock]) -> Optional[TGeo... method create_value_block (line 552) | def create_value_block(values: List[TBlock]) -> TBlock: method add_virtual_block (line 561) | def add_virtual_block(self, text: str, page_block: TBlock, text_type="... method add_virtual_key_for_existing_key (line 572) | def add_virtual_key_for_existing_key(self, key_name: str, existing_key... method add_key_values (line 581) | def add_key_values(self, key_name: str, values: List[TBlock], page_blo... method rotate (line 614) | def rotate(self, page: TBlock, degrees: float, origin: TPoint = TPoint... method find_block_by_id (line 624) | def find_block_by_id(self, id: str) -> Optional[TBlock]: method get_block_by_id (line 631) | def get_block_by_id(self, id: str) -> TBlock: method __relationships_recursive (line 638) | def __relationships_recursive(self, block: TBlock) -> Iterator[TBlock]: method relationships_recursive (line 650) | def relationships_recursive(self, block: TBlock) -> Set[TBlock]: method pages (line 654) | def pages(self) -> List[TBlock]: method filter_blocks_by_type (line 667) | def filter_blocks_by_type(block_list: List[TBlock], method get_child_relations (line 676) | def get_child_relations(self, page: TBlock): method tables (line 680) | def tables(self, page: TBlock) -> List[TBlock]: method get_blocks_by_type (line 683) | def get_blocks_by_type( method forms (line 707) | def forms(self, page: TBlock = None) -> List[TBlock]: #type: ignore method keys (line 710) | def keys(self, page: TBlock = None) -> List[TBlock]: #type: ignore method signatures (line 713) | def signatures(self, page: TBlock) -> List[TBlock]: method queries (line 716) | def queries(self, page: TBlock) -> List[TBlock]: method get_answers_for_query (line 719) | def get_answers_for_query(self, block: TBlock) -> List[TBlock]: method get_query_answers (line 727) | def get_query_answers(self, page: TBlock) -> List[List[str]]: method get_key_by_name (line 738) | def get_key_by_name(self, key_name: str) -> List[TBlock]: method get_blocks_for_relationships (line 749) | def get_blocks_for_relationships(self, relationship: TRelationship = N... method value_for_key (line 756) | def value_for_key(self, key: TBlock) -> List[TBlock]: method get_text_for_tblocks (line 769) | def get_text_for_tblocks(tblocks: List[TBlock]) -> str: method lines (line 774) | def lines(self, page: TBlock) -> List[TBlock]: method delete_blocks (line 782) | def delete_blocks(self, block_id: List[str]): method merge_tables (line 791) | def merge_tables(self, table_array_ids: List[List[str]]): method link_tables (line 822) | def link_tables(self, table_array_ids: List[List[str]]): class THttpHeadersSchema (line 841) | class THttpHeadersSchema(BaseSchema): class Meta (line 843) | class Meta: method make_thttp_headers (line 853) | def make_thttp_headers(self, data, **kwargs): class TResponseMetadataSchema (line 857) | class TResponseMetadataSchema(BaseSchema): class Meta (line 859) | class Meta: method make_tresponse_metadata (line 868) | def make_tresponse_metadata(self, data, **kwargs): class TDocumentSchema (line 872) | class TDocumentSchema(BaseSchema): class Meta (line 874) | class Meta: method make_tdocument (line 899) | def make_tdocument(self, data, **kwargs): FILE: src-python/trp/trp2_analyzeid.py class TType (line 14) | class TType(): class TTypeSchema (line 21) | class TTypeSchema(BaseSchema): method make_ttype (line 28) | def make_ttype(self, data, **kwargs): class TNormalizedValue (line 33) | class TNormalizedValue(): class TNormalizedValueSchema (line 41) | class TNormalizedValueSchema(BaseSchema): method make_tnormalizedtype (line 49) | def make_tnormalizedtype(self, data, **kwargs): class TValueDetection (line 54) | class TValueDetection(): class TValueDetectionSchema (line 63) | class TValueDetectionSchema(BaseSchema): method make_tvaluedetection (line 75) | def make_tvaluedetection(self, data, **kwargs): class TIdentityDocumentField (line 80) | class TIdentityDocumentField(): class TIdentityDocumentFieldSchema (line 88) | class TIdentityDocumentFieldSchema(BaseSchema): method make_tidentitydocumentfield (line 101) | def make_tidentitydocumentfield(self, data, **kwargs): class TIdentityDocument (line 106) | class TIdentityDocument(): class TIdentityDocumentSchema (line 115) | class TIdentityDocumentSchema(BaseSchema): method make_tidentitydocumentfield (line 129) | def make_tidentitydocumentfield(self, data, **kwargs): class TAnalyzeIdDocument (line 134) | class TAnalyzeIdDocument(): method get_values_as_list (line 148) | def get_values_as_list(self) -> List[List[str]]: class TAnalyzeIdDocumentSchema (line 173) | class TAnalyzeIdDocumentSchema(BaseSchema): method make_tanalyzeiddocument (line 198) | def make_tanalyzeiddocument(self, data, **kwargs): FILE: src-python/trp/trp2_expense.py class TextractAnalyzeExpenseSummaryFieldType (line 72) | class TextractAnalyzeExpenseSummaryFieldType(Enum): class TLabelDetection (line 80) | class TLabelDetection(): class TLabelDetectionSchema (line 89) | class TLabelDetectionSchema(BaseSchema): method make_tlabeldetection (line 98) | def make_tlabeldetection(self, data, **kwargs): class TValueDetection (line 103) | class TValueDetection(): class TValueDetectionSchema (line 112) | class TValueDetectionSchema(BaseSchema): method make_tvaluedetection (line 121) | def make_tvaluedetection(self, data, **kwargs): class TFieldType (line 126) | class TFieldType(): class TFieldTypeSchema (line 134) | class TFieldTypeSchema(BaseSchema): method make_tfieldtype (line 142) | def make_tfieldtype(self, data, **kwargs): class TGroupProperty (line 147) | class TGroupProperty(): class GroupProperty (line 152) | class GroupProperty(BaseSchema): method make (line 157) | def make(self, data, **kwargs): class TSummaryField (line 162) | class TSummaryField(): class TSummaryFieldSchema (line 173) | class TSummaryFieldSchema(BaseSchema): class Meta (line 177) | class Meta: method make_tsummaryfield (line 190) | def make_tsummaryfield(self, data, **kwargs): class TExpenseField (line 195) | class TExpenseField(): class TExpenseFieldSchema (line 205) | class TExpenseFieldSchema(BaseSchema): method make_texpensefield (line 217) | def make_texpensefield(self, data, **kwargs): class TLineItem (line 222) | class TLineItem(): class TLineItemSchema (line 229) | class TLineItemSchema(BaseSchema): method make_tlineitem (line 240) | def make_tlineitem(self, data, **kwargs): class TLineItemGroup (line 245) | class TLineItemGroup(): class TLineItemGroupSchema (line 253) | class TLineItemGroupSchema(BaseSchema): method make_tlineitemgroup (line 263) | def make_tlineitemgroup(self, data, **kwargs): class TExpense (line 268) | class TExpense(): method lines (line 278) | def lines(self, page: TBlock) -> List[TBlock]: class TExpenseSchema (line 287) | class TExpenseSchema(BaseSchema): class Meta (line 291) | class Meta: method make_texpense (line 312) | def make_texpense(self, data, **kwargs): class TAnalyzeExpenseDocument (line 316) | class TAnalyzeExpenseDocument(): method __init__ (line 321) | def __init__(self, method document_metadata (line 342) | def document_metadata(self): method expenses_documents (line 346) | def expenses_documents(self): method expenses_documents (line 350) | def expenses_documents(self, value: List[TExpense]): method analyze_expense_model_version (line 354) | def analyze_expense_model_version(self): method status_message (line 358) | def status_message(self): method warnings (line 362) | def warnings(self): method job_status (line 366) | def job_status(self): method response_metadata (line 370) | def response_metadata(self): method next_token (line 374) | def next_token(self): method custom (line 378) | def custom(self): method custom (line 382) | def custom(self, value: dict): method get_expensedocument_by_id (line 385) | def get_expensedocument_by_id(self, docid: int) -> Optional[TExpense]: method get_all_summaryfields_by_expense_id (line 398) | def get_all_summaryfields_by_expense_id(self, docid: int) -> Optional[... method get_normalized_summaryfields_by_expense_id (line 414) | def get_normalized_summaryfields_by_expense_id(self, docid: int) -> Op... class TAnalyzeExpenseDocumentSchema (line 432) | class TAnalyzeExpenseDocumentSchema(BaseSchema): class Meta (line 436) | class Meta: method make_tdocument (line 459) | def make_tdocument(self, data, **kwargs): FILE: src-python/trp/trp2_lending.py class TLendingDetection (line 12) | class TLendingDetection(): class TSignatureDetection (line 20) | class TSignatureDetection(): class TLendingField (line 26) | class TLendingField(): class TLendingDocument (line 33) | class TLendingDocument(): class TExtraction (line 39) | class TExtraction(): class TPrediction (line 46) | class TPrediction(): class TPageClassification (line 52) | class TPageClassification(): class TLendingResult (line 58) | class TLendingResult(): class TFullLendingDocument (line 65) | class TFullLendingDocument(): class TLendingDetectionSchema (line 82) | class TLendingDetectionSchema(BaseSchema): method make (line 89) | def make(self, data, **kwargs): class TSignatureDetectionSchema (line 93) | class TSignatureDetectionSchema(BaseSchema): method make (line 98) | def make(self, data, **kwargs): class TLendingFieldSchema (line 102) | class TLendingFieldSchema(BaseSchema): method make (line 110) | def make(self, data, **kwargs): class TLendingDocumentSchema (line 114) | class TLendingDocumentSchema(BaseSchema): method make (line 121) | def make(self, data, **kwargs): class TExtractionSchema (line 125) | class TExtractionSchema(BaseSchema): method make (line 137) | def make(self, data, **kwargs): class TPredictionSchema (line 141) | class TPredictionSchema(BaseSchema): method make (line 146) | def make(self, data, **kwargs): class TPageClassificationSchema (line 150) | class TPageClassificationSchema(BaseSchema): method make (line 155) | def make(self, data, **kwargs): class TLendingResultSchema (line 159) | class TLendingResultSchema(BaseSchema): method make (line 168) | def make(self, data, **kwargs): class TFullLendingDocumentSchema (line 172) | class TFullLendingDocumentSchema(BaseSchema): method make (line 195) | def make(self, data, **kwargs):