SentencePieceKit – Swift package wrapper for Google's SentencePiece
SentencePieceKit – Swift package wrapper for Google's SentencePiece
Needed SentencePiece tokenization for an on-device NLP pipeline and couldn't find a working Swift package, so I built one. Compiles Google's SentencePiece C++ source into a universal xcframework — covers iOS, macOS, and watchOS (including simulator slices). watchOS required patching CMakeLists.txt to work with the iOS toolchain. Install via SPM, import SentencePieceKit, done. No bridging headers or manual C++ setup needed. Early stage, feedback and PRs welcome.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
`Depermaid` Visualize Swift Package Dependencies
create-swift-package – an interactive alternative to Swift package init
Swift package wrapping OpenAI's Tiktoken
A Swift Package Manager Xcode Integration
SwiftProcessing – an iOS Swift package for creative coding
Trailer Swift
Populating a UITableView in Swift
2048 in Swift
Clojure-ish Lisp interpreter implemented in Swift
Get to grips with NSTimer in Swift