flutter_kiwi_nlp 0.1.3 copy "flutter_kiwi_nlp: ^0.1.3" to clipboard
flutter_kiwi_nlp: ^0.1.3 copied to clipboard

Flutter plugin for Korean morphological analysis with Kiwi via native FFI and web WASM.

example/lib/main.dart

import 'dart:async';
import 'dart:ui' show PlatformDispatcher;

import 'package:flutter/material.dart';

import 'src/app.dart';

void main() {
  FlutterError.onError = (FlutterErrorDetails details) {
    FlutterError.presentError(details);
    debugPrint('[KiwiDemo][flutter] ${details.exception}');
    final StackTrace? stack = details.stack;
    if (stack != null) {
      debugPrintStack(label: '[KiwiDemo][flutter]', stackTrace: stack);
    }
  };
  PlatformDispatcher.instance.onError = (Object error, StackTrace stackTrace) {
    debugPrint('[KiwiDemo][platform] $error');
    debugPrintStack(label: '[KiwiDemo][platform]', stackTrace: stackTrace);
    return false;
  };
  runZonedGuarded(() => runApp(const KiwiDemoApp()), (
    Object error,
    StackTrace stackTrace,
  ) {
    debugPrint('[KiwiDemo][zone] $error');
    debugPrintStack(label: '[KiwiDemo][zone]', stackTrace: stackTrace);
  });
}
0
likes
140
points
100
downloads
screenshot

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for Korean morphological analysis with Kiwi via native FFI and web WASM.

Repository (GitHub)
View/report issues

Topics

#korean-nlp #morphological-analysis #ffi #wasm #flutter-plugin

License

LGPL-2.1 (license)

Dependencies

archive, crypto, ffi, flutter, flutter_web_plugins, http

More

Packages that depend on flutter_kiwi_nlp

Packages that implement flutter_kiwi_nlp