udpipe_flutter 0.2.0
udpipe_flutter: ^0.2.0 copied to clipboard
Flutter library and demo app for UDPipe 1 — NLP tokenization, POS tagging and dependency parsing across 50+ languages, with native FFI on desktop/mobile and WebAssembly on the web.
0.2.0 #
- Expanded model catalog:
kUdpipeModelsnow lists all ~94 UDPipe 1 (UD 2.5) models across 60+ languages, not just the two German models. - Added
UDPipeService.initFromAsset(String assetPath)— load any.udpipefile from the Flutter asset bundle by path (not limited toassets/models/). - Added
UDPipeService.initFromBytes(Uint8List bytes)— load a model from raw bytes, e.g. after downloading it at runtime. - Breaking:
UDPipeModelInfo.idis now the full treebank name (e.g.'german-gsd'instead of'gsd'). Legacy short ids'gsd'and'hdt'are still accepted byudpipeModelByIdandUDPipeService.initfor backward compatibility. - Breaking:
UDPipeModelInfo.sizefield removed. UDPipeModelInfo.fileNameis now a computed getter ('$id.udpipe') instead of a stored field.- Default
modelIdinUDPipeService.initchanged from'hdt'to'german-gsd'.
0.1.3 #
- Fixed pub.dev documentation score: resolved dartdoc library-name conflict, excluded demo-app files from public API, added missing dartdoc comments.
- Fixed pub.dev static analysis score: added
assets/models/README.mdso the declared asset directory exists in the published package. assets/models/README.mddocuments where to download UDPipe model files.
0.1.1 #
- Added
gender,number, anddegreefields toUDToken(parsed from the CoNLL-U FEATS column). - Added package example (
example/example.dart).
0.1.0+1 #
- Initial release.
- Native FFI bindings for UDPipe 1 on Windows, Linux, macOS, Android.
- WebAssembly backend via Emscripten for Flutter web.
- CoNLL-U parser with separable-verb detection (German).
- Demo app with model selector, token table and UPOS colour badges.