Se

SentencePieceKit – Swift package wrapper for Google's SentencePiece

Hacker News

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 card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, macos, google · Missing: agents, agent, cursor
87%87% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: ios, including · Missing: supports, reddit linkedin, podcasting
84%84% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRFits verified-revenue profile · Strong signals: ios, google · Missing: mobile apps, personal, entrepreneurs
57%57% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: pipe, io, including · Missing: https docs, excited, just released
29%29% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
24%24% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
23%23% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

`D
`Depermaid` Visualize Swift Package Dependencies45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

`Depermaid` Visualize Swift Package Dependencies

Hacker News2
cr
create-swift-package – an interactive alternative to Swift package init59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

create-swift-package – an interactive alternative to Swift package init

Hacker News1
Sw
Swift package wrapping OpenAI's Tiktoken39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Swift package wrapping OpenAI's Tiktoken

Hacker News1
A
A Swift Package Manager Xcode Integration42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Swift Package Manager Xcode Integration

Hacker News1
Sw
SwiftProcessing – an iOS Swift package for creative coding33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SwiftProcessing – an iOS Swift package for creative coding

Hacker News3
Tr
Trailer Swift43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Trailer Swift

Hacker News32
Po
Populating a UITableView in Swift54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Populating a UITableView in Swift

Hacker News1
20
2048 in Swift44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

2048 in Swift

Hacker News92
Cl
Clojure-ish Lisp interpreter implemented in Swift72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Clojure-ish Lisp interpreter implemented in Swift

Hacker News2
Ge
Get to grips with NSTimer in Swift43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Get to grips with NSTimer in Swift

Hacker News3