Class: Xberg::LanguageConfidence
- Inherits:
-
Object
- Object
- Xberg::LanguageConfidence
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#confidence ⇒ Float
readonly
Returns the value of attribute confidence.
-
#language ⇒ String
readonly
Returns the value of attribute language.
-
#proportion ⇒ Float
readonly
Returns the value of attribute proportion.
-
#reliable ⇒ Boolean
readonly
Returns the value of attribute reliable.
-
#script ⇒ String
readonly
Returns the value of attribute script.
Instance Method Summary collapse
-
#initialize ⇒ LanguageConfidence
constructor
A new instance of LanguageConfidence.
Constructor Details
#initialize ⇒ LanguageConfidence
Returns a new instance of LanguageConfidence.
1392 |
# File 'sig/types.rbs', line 1392 def initialize: (language: String, confidence: Float, proportion: Float, script: String, reliable: bool) -> void |
Instance Attribute Details
#confidence ⇒ Float (readonly)
Returns the value of attribute confidence.
1387 1388 1389 |
# File 'sig/types.rbs', line 1387 def confidence @confidence end |
#language ⇒ String (readonly)
Returns the value of attribute language.
1386 1387 1388 |
# File 'sig/types.rbs', line 1386 def language @language end |
#proportion ⇒ Float (readonly)
Returns the value of attribute proportion.
1388 1389 1390 |
# File 'sig/types.rbs', line 1388 def proportion @proportion end |
#reliable ⇒ Boolean (readonly)
Returns the value of attribute reliable.
1390 1391 1392 |
# File 'sig/types.rbs', line 1390 def reliable @reliable end |
#script ⇒ String (readonly)
Returns the value of attribute script.
1389 1390 1391 |
# File 'sig/types.rbs', line 1389 def script @script end |