Class: Xberg::ExtractionConfidence

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeExtractionConfidence

Returns a new instance of ExtractionConfidence.

Parameters:

  • text_coverage: (Float)
  • ocr_aggregate: (Float)
  • schema_compliance: (SchemaCompliance)
  • combined: (Float)


1855
# File 'sig/types.rbs', line 1855

def initialize: (text_coverage: Float, ?ocr_aggregate: Float, schema_compliance: SchemaCompliance, combined: Float) -> void

Instance Attribute Details

#combinedFloat (readonly)

Returns the value of attribute combined.

Returns:

  • (Float)


1853
1854
1855
# File 'sig/types.rbs', line 1853

def combined
  @combined
end

#ocr_aggregateFloat (readonly)

Returns the value of attribute ocr_aggregate.

Returns:

  • (Float)


1851
1852
1853
# File 'sig/types.rbs', line 1851

def ocr_aggregate
  @ocr_aggregate
end

#schema_complianceSchemaCompliance (readonly)

Returns the value of attribute schema_compliance.

Returns:



1852
1853
1854
# File 'sig/types.rbs', line 1852

def schema_compliance
  @schema_compliance
end

#text_coverageFloat (readonly)

Returns the value of attribute text_coverage.

Returns:

  • (Float)


1850
1851
1852
# File 'sig/types.rbs', line 1850

def text_coverage
  @text_coverage
end