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)


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

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)


1954
1955
1956
# File 'sig/types.rbs', line 1954

def combined
  @combined
end

#ocr_aggregateFloat (readonly)

Returns the value of attribute ocr_aggregate.

Returns:

  • (Float)


1952
1953
1954
# File 'sig/types.rbs', line 1952

def ocr_aggregate
  @ocr_aggregate
end

#schema_complianceSchemaCompliance (readonly)

Returns the value of attribute schema_compliance.

Returns:



1953
1954
1955
# File 'sig/types.rbs', line 1953

def schema_compliance
  @schema_compliance
end

#text_coverageFloat (readonly)

Returns the value of attribute text_coverage.

Returns:

  • (Float)


1951
1952
1953
# File 'sig/types.rbs', line 1951

def text_coverage
  @text_coverage
end