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.
884 |
# File 'sig/types.rbs', line 884
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.
878 879 880 |
# File 'sig/types.rbs', line 878 def category @category end |
#confidence ⇒ Float (readonly)
Returns the value of attribute confidence.
882 883 884 |
# File 'sig/types.rbs', line 882 def confidence @confidence end |
#end ⇒ Integer (readonly)
Returns the value of attribute end.
881 882 883 |
# File 'sig/types.rbs', line 881 def end @end end |
#start ⇒ Integer (readonly)
Returns the value of attribute start.
880 881 882 |
# File 'sig/types.rbs', line 880 def start @start end |
#text ⇒ String (readonly)
Returns the value of attribute text.
879 880 881 |
# File 'sig/types.rbs', line 879 def text @text end |