BSD Ports

textproc/py-sentencepiece 0.2.2 DragonFly

Unsupervised text tokenizer for Neural Network-based text generation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
textproc
Package size
447.0 KiB, 1671.6 KiB installed

Description

SentencePiece is an unsupervised text tokenizer and detokenizer mainly for Neural Network-based text generation systems where the vocabulary size is predetermined prior to the neural model training. SentencePiece implements subword units (e.g., byte-pair-encoding (BPE)) and unigram language model with the extension of direct training from raw sentences. SentencePiece allows us to make a purely end-to-end system that does not depend on language-specific pre/postprocessing.

In the other systems

The newest version among them is 0.2.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlytextproc/py-sentencepiece0.2.2 behind since 2026-11-10none known-[email protected]-
FreeBSDtextproc/py-sentencepiece0.2.3 newestnone known-[email protected]2026-11-10
NetBSDtextproc/py-sentencepiece0.2.1 behind since 2026-07-13none known---
MidnightBSDtextproc/py-sentencepiece0.2.1_1 behind since 2026-07-13no data-[email protected]2026-11-04
HardenedBSDtextproc/py-sentencepiece0.2.2 behind since 2026-11-10no data-[email protected]-
GhostBSDtextproc/py-sentencepiece0.2.2 behind since 2026-11-10no data-[email protected]-

Compare across BSDs

Version history 1

  1. 0.2.2

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-sentencepiece

From DPorts:

cd /usr/dports/textproc/py-sentencepiece && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2