Class: Xberg::LanguageDetectionConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLanguageDetectionConfig

Returns a new instance of LanguageDetectionConfig.

Parameters:

  • enabled: (Boolean)
  • min_confidence: (Float)
  • detect_multiple: (Boolean)


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

def initialize: (?enabled: bool, ?min_confidence: Float, ?detect_multiple: bool) -> void

Instance Attribute Details

#detect_multipleBoolean (readonly)

Returns the value of attribute detect_multiple.

Returns:

  • (Boolean)


1398
1399
1400
# File 'sig/types.rbs', line 1398

def detect_multiple
  @detect_multiple
end

#enabledBoolean (readonly)

Returns the value of attribute enabled.

Returns:

  • (Boolean)


1396
1397
1398
# File 'sig/types.rbs', line 1396

def enabled
  @enabled
end

#min_confidenceFloat (readonly)

Returns the value of attribute min_confidence.

Returns:

  • (Float)


1397
1398
1399
# File 'sig/types.rbs', line 1397

def min_confidence
  @min_confidence
end