Mecab class

Class that represents a Mecab instance

Inheritance

Constructors

Mecab.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
mecabDartFfi ↔ MecabDartFfi
Pointer to the Mecab instance on the C side
latefinaloverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() → void
Frees the memory used by mecab and
inherited
init(String libmecabPath, String dictDir, bool includeFeatures) Future<void>
Initializes this mecab instance, libmecabPath should be the path to a mecab dynamic library dictDir should be a directory that contains a Mecab dictionary (ex. IpaDic) If includeFeatures is set, the output of mecab includes the token-features.
inherited
initFlutter(String dictDir, bool includeFeatures, {String? libmecabPath}) Future<void>
Initializes this mecab instance, dictDir should be a directory that contains a Mecab dictionary (ex. IpaDic) If includeFeatures is set, the output of mecab includes the token-features. Optional: libmecabPath path to a mecab dynamic library
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String input) List<TokenNode>
Parses the given text using mecab and returns mecab's output
inherited
toString() String
A string representation of this object.
inherited

Operators

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