Skip to main content

apple_natural_language 0.1.0 copy "apple_natural_language: ^0.1.0" to clipboard
apple_natural_language: ^0.1.0 copied to clipboard

PlatformiOSmacOS

Flutter bindings for Apple's NaturalLanguage framework: language identification, tagging, tokenization and embeddings.

0.1.0 #

  • Initial release: Natural Language bindings for iOS 15+ / macOS 12+ over Pigeon platform channels.
  • LanguageRecognizer: dominant language and ranked hypotheses with hints and constraints.
  • Tokenizer and Tagger: words, sentences and paragraphs; lexical class, named entities, lemmas, language, script and sentiment; tag hypotheses, available schemes and asset downloads. Offsets are UTF-16, matching Dart strings.
  • Embedding (word, sentence and custom), ContextualEmbedding (iOS 17 / macOS 14), custom Create ML TextModels and Gazetteers.
  • Typed errors, handle lifecycle with finalizers, and a testing library for fakes.
  • Request English named-entity assets in integration tests and report the iOS all-Other result as a skip; document the asset requirement.
0
likes
160
points
679
downloads

Documentation

API reference

Publisher

verified publisherjamiewest.dev

Weekly Downloads

Flutter bindings for Apple's NaturalLanguage framework: language identification, tagging, tokenization and embeddings.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on apple_natural_language

Packages that implement apple_natural_language