Mecab class
Class that represents a Mecab instance
Constructors
- Mecab()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mecabDartFfi ↔ MecabDartFfi
-
Pointer to the Mecab instance on the C side
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy(
) → void - Frees the memory used by mecab and
-
init(
String libmecabPath, String dictDir, bool includeFeatures) → Future< void> -
Initializes this mecab instance,
libmecabPath
should be the path to a mecab dynamic librarydictDir
should be a directory that contains a Mecab dictionary (ex. IpaDic) IfincludeFeatures
is set, the output of mecab includes the token-features. -
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited