udpipe/src/udpipe_service library
Classes
- UDPipeModelInfo
- Metadata for an available UDPipe model.
- UDPipeResult
- Result returned by UDPipeService.process, containing one entry per sentence.
- UDPipeService
- Singleton service that wraps the UDPipe native library via dart:ffi.
- UDSentenceResult
- Parsed result for a single sentence.
Enums
- UDPipeStatus
- Loading state of UDPipeService.
Constants
-
kUdpipeModels
→ const List<
UDPipeModelInfo> - Bundled German models. Pass UDPipeModelInfo.id to UDPipeService.init.
Functions
-
buildUDPipeResult(
String conllu) → UDPipeResult -
Converts a raw CoNLL-U
conllustring into a UDPipeResult. -
splitUDPipeResultByBlocks(
String conllu, List< String> blocks) → List<UDPipeResult> - Splits a multi-sentence CoNLL-U string into one UDPipeResult per input block.
-
udpipeModelById(
String id) → UDPipeModelInfo -
Returns the UDPipeModelInfo for
id, falling back to the first model.