mecab_for_dart 1.1.5 copy "mecab_for_dart: ^1.1.5" to clipboard
mecab_for_dart: ^1.1.5 copied to clipboard

Dart plugin which provides binding to Mecab library (Japanese Morphological Analyzer)

example/mecab_for_dart.dart

import 'package:mecab_for_dart/mecab_dart.dart';



void main() async {
  
  final tagger = Mecab();
  await tagger.init("mecab.dylib", "ipadic", true);

  final surfaces = tagger.parse("林檎を食べる").map((e) => e.surface,).toList();
  print(surfaces);

}
3
likes
150
points
127
downloads

Publisher

unverified uploader

Weekly Downloads

Dart plugin which provides binding to Mecab library (Japanese Morphological Analyzer)

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

github.com
buymeacoffee.com
patreon.com

License

BSD-3-Clause (license)

Dependencies

universal_ffi, universal_io

More

Packages that depend on mecab_for_dart