Class: Xberg::LanguageDetectionConfig
- Inherits:
-
Object
- Object
- Xberg::LanguageDetectionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#detect_multiple ⇒ Boolean
readonly
Returns the value of attribute detect_multiple.
-
#enabled ⇒ Boolean
readonly
Returns the value of attribute enabled.
-
#min_confidence ⇒ Float
readonly
Returns the value of attribute min_confidence.
Instance Method Summary collapse
-
#initialize ⇒ LanguageDetectionConfig
constructor
A new instance of LanguageDetectionConfig.
Constructor Details
#initialize ⇒ LanguageDetectionConfig
Returns a new instance of LanguageDetectionConfig.
1400 |
# File 'sig/types.rbs', line 1400 def initialize: (?enabled: bool, ?min_confidence: Float, ?detect_multiple: bool) -> void |
Instance Attribute Details
#detect_multiple ⇒ Boolean (readonly)
Returns the value of attribute detect_multiple.
1398 1399 1400 |
# File 'sig/types.rbs', line 1398 def detect_multiple @detect_multiple end |
#enabled ⇒ Boolean (readonly)
Returns the value of attribute enabled.
1396 1397 1398 |
# File 'sig/types.rbs', line 1396 def enabled @enabled end |
#min_confidence ⇒ Float (readonly)
Returns the value of attribute min_confidence.
1397 1398 1399 |
# File 'sig/types.rbs', line 1397 def min_confidence @min_confidence end |