KiwiCandidate class

A candidate analysis path returned by Kiwi.

Constructors

KiwiCandidate({required double probability, required List<KiwiToken> tokens})
Creates a KiwiCandidate.
const
KiwiCandidate.fromJson(Map<String, dynamic> json)
Creates a candidate from a JSON-compatible map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
probability double
The candidate score or probability.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokens List<KiwiToken>
The token sequence for this candidate.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited