BudouX Dart
BudouX-Dart is a Dart port of BudouX
Install
dart pub add budoux
dependencies:
budoux: ^0.0.1
dart pub get
example
use default model
import 'package:budoux/budoux.dart';
void main() {
const b = Budoux();
// ignore: avoid_print
print(b.parse('これはテストです。')); // => [これは, テストです。]
}
use custom model
import 'package:budoux/budoux.dart';
void main() {
const b = Budoux(model: Model.fromJson(/*your custom model json*/));
// ignore: avoid_print
print(b.parse('これはテストです。')); // => [これは, テストです。]
}
test
dart run test