Class: Xberg::PageOcrConfidence

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePageOcrConfidence

Returns a new instance of PageOcrConfidence.

Parameters:

  • score: (Float)
  • word_count: (Integer)
  • backend: (String)


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

def initialize: (?score: Float, ?word_count: Integer, ?backend: String) -> void

Instance Attribute Details

#backendString (readonly)

Returns the value of attribute backend.

Returns:

  • (String)


1948
1949
1950
# File 'sig/types.rbs', line 1948

def backend
  @backend
end

#scoreFloat? (readonly)

Returns the value of attribute score.

Returns:

  • (Float, nil)


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

def score
  @score
end

#word_countInteger (readonly)

Returns the value of attribute word_count.

Returns:

  • (Integer)


1947
1948
1949
# File 'sig/types.rbs', line 1947

def word_count
  @word_count
end