A single mention result.
tflite_support.task.processor.Mention(
value: str, score: float, start: int, end: int
)
Attributes |
value
|
The text value of the mention.
|
score
|
The score for this mention e.g. (but not necessarily) a
probability in [0,1].
|
start
|
Start of the bytes of this mention.
|
end
|
Exclusive end of the bytes of this mention.
|
Methods
__eq__
View source
__eq__(
other: Any
) -> bool
Checks if this object is equal to the given object.
Args |
other
|
The object to be compared with.
|
Returns |
True if the objects are equal.
|