Class: Xberg::Entity
- Inherits:
-
Object
- Object
- Xberg::Entity
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#category ⇒ EntityCategory
readonly
Returns the value of attribute category.
-
#confidence ⇒ Float
readonly
Returns the value of attribute confidence.
-
#end ⇒ Integer
readonly
Returns the value of attribute end.
-
#start ⇒ Integer
readonly
Returns the value of attribute start.
-
#text ⇒ String
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ Entity
constructor
A new instance of Entity.
Constructor Details
#initialize ⇒ Entity
Returns a new instance of Entity.
915 |
# File 'sig/types.rbs', line 915
def initialize: (category: EntityCategory, text: String, start: Integer, end: Integer, ?confidence: Float) -> void
|
Instance Attribute Details
#category ⇒ EntityCategory (readonly)
Returns the value of attribute category.
909 910 911 |
# File 'sig/types.rbs', line 909 def category @category end |
#confidence ⇒ Float (readonly)
Returns the value of attribute confidence.
913 914 915 |
# File 'sig/types.rbs', line 913 def confidence @confidence end |
#end ⇒ Integer (readonly)
Returns the value of attribute end.
912 913 914 |
# File 'sig/types.rbs', line 912 def end @end end |
#start ⇒ Integer (readonly)
Returns the value of attribute start.
911 912 913 |
# File 'sig/types.rbs', line 911 def start @start end |
#text ⇒ String (readonly)
Returns the value of attribute text.
910 911 912 |
# File 'sig/types.rbs', line 910 def text @text end |