Mecab class

Class that represents a Mecab Tagger instance

Properties

hashCode int
The hash code for this object.
no setterinherited
mecabDictDirPath String
Path to the Mecab dictionary directory used
latefinal
options String
Whether to include token features in the output
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transferableState MecabTransferableState
no setter
weblibmecabPath String
Path to the Mecab dynamic library used
latefinal

Methods

dispose() → void
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 parsed TokenNodes
rawParse(String input) String
Parses the given text using mecab and returns the raw string output.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create({required String dictDir, String options = defaultOptions, String webLibmecabPath = defaultWebLibMecabPath}) Future<Mecab>
Initializes this mecab instance, dictDir should be a directory that contains a Mecab dictionary (ex. IpaDic) options can be used libmecabPath only used on web, sets the path where the Mecab WASM binary is located.
fromTransferableState(MecabTransferableState state) Future<Mecab>