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)


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

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)


1944
1945
1946
# File 'sig/types.rbs', line 1944

def combined
  @combined
end

#ocr_aggregateFloat (readonly)

Returns the value of attribute ocr_aggregate.

Returns:

  • (Float)


1942
1943
1944
# File 'sig/types.rbs', line 1942

def ocr_aggregate
  @ocr_aggregate
end

#schema_complianceSchemaCompliance (readonly)

Returns the value of attribute schema_compliance.

Returns:



1943
1944
1945
# File 'sig/types.rbs', line 1943

def schema_compliance
  @schema_compliance
end

#text_coverageFloat (readonly)

Returns the value of attribute text_coverage.

Returns:

  • (Float)


1941
1942
1943
# File 'sig/types.rbs', line 1941

def text_coverage
  @text_coverage
end