budoux_dart 1.2.0 copy "budoux_dart: ^1.2.0" to clipboard
budoux_dart: ^1.2.0 copied to clipboard

A BudouX implementation in Dart.

example/budoux_dart_example.dart

import 'dart:io';

import 'package:budoux_dart/budoux.dart';

void main() {
  final budouX = BudouX(
    File('lib/models/ja.json').readAsStringSync(),
  );

  final results = budouX.parse(
    '今日は良い天気ですね。',
  );

  for (final e in results) {
    print(e);
  }
}