Port details
sentencepiece Unsupervised text tokenizer for Neural Network-based text generation
0.2.3 textproc Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.2.2Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-01-16 09:42:22
Last Update: 2026-11-26 08:47:53
Commit Hash: 27a24ff
License: APACHE20
WWW:
https://github.com/google/sentencepiece
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (31 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/sentencepiece-0.2.3/catalog.mk
  3. /usr/local/share/licenses/sentencepiece-0.2.3/LICENSE
  4. /usr/local/share/licenses/sentencepiece-0.2.3/APACHE20
  5. share/sbom/pc/sentencepiece.pc
  6. bin/spm_decode
  7. bin/spm_encode
  8. bin/spm_eval
  9. bin/spm_export_vocab
  10. bin/spm_normalize
  11. bin/spm_train
  12. include/sentencepiece.pb.h
  13. include/sentencepiece_model.pb.h
  14. include/sentencepiece_processor.h
  15. include/sentencepiece_trainer.h
  16. lib/cmake/sentencepiece/sentencepieceConfig.cmake
  17. lib/cmake/sentencepiece/sentencepieceConfigVersion.cmake
  18. lib/cmake/sentencepiece/sentencepieceTargets-release.cmake
  19. lib/cmake/sentencepiece/sentencepieceTargets.cmake
  20. lib/libsentencepiece.a
  21. lib/libsentencepiece.so
  22. lib/libsentencepiece.so.0
  23. lib/libsentencepiece.so.0.0.0
  24. lib/libsentencepiece_train.a
  25. lib/libsentencepiece_train.so
  26. lib/libsentencepiece_train.so.0
  27. lib/libsentencepiece_train.so.0.0.0
  28. libdata/pkgconfig/sentencepiece.pc
  29. @owner
  30. @group
  31. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • sentencepiece>0:textproc/sentencepiece
  • For LIB depends:
    • libsentencepiece.so:textproc/sentencepiece
    • libsentencepiece_train.so:textproc/sentencepiece
To install the port: #
cd /usr/ports/textproc/sentencepiece/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/sentencepiece
  • pkg install sentencepiece
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: sentencepiece
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1794190643 SHA256 (google-sentencepiece-v0.2.3_GH0.tar.gz) = aeabf9b2ae1a77cda6e721ab1fb9f6e44b8ba4ddb8d7343dc5b02aec70fab324 SIZE (google-sentencepiece-v0.2.3_GH0.tar.gz) = 15798550

Expand this list (2 items)

Collapse this list.

SHA256 (google-flatbuffers-v25.12.19-2026-02-06-03fffb2_GH0.tar.gz) = ccbce58684691de1e7d51f5e87786266b37d06ab66e9dfe2d0ec106fe50aace0 SIZE (google-flatbuffers-v25.12.19-2026-02-06-03fffb2_GH0.tar.gz) = 2375289

Collapse this list.


Packages (timestamps in pop-ups are UTC): #
sentencepiece
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.30.2.3-0.2.0_10.2.3
FreeBSD:14:quarterly0.2.20.2.2-0.2.0_10.2.2
FreeBSD:15:latest0.2.30.2.3n/a0.2.0_1n/a
FreeBSD:15:quarterly0.2.20.2.2n/a-n/a
FreeBSD:16:latest CURRENT0.2.20.2.3n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. flatc : devel/flatbuffers
  2. cmake : devel/cmake-core
  3. ninja : devel/ninja
Test dependencies: #
  1. googletest>0 : devel/googletest
Library dependencies: #
  1. libabsl_strings.so : devel/abseil
  2. libprotobuf-lite.so : devel/protobuf
This port is required by: #
for Libraries #
  1. textproc/py-sentencepiece

Configuration Options: #
===> The following configuration options are available for sentencepiece-0.2.3: GPERFTOOLS=off: Google gperftools support ===> Use 'make config' to modify these settings
Options name: #
textproc_sentencepiece
USES: #
cmake:testing compiler:c++17-lang cpe
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/google/sentencepiece/tar.gz/v0.2.3?dummy=/
Collapse this list.

Number of commits found: 9 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.3
26 Nov 2026 08:47:53
commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6 files touched by this commit
Torsten Zuehlsdorff (tz) search for other commits by this committer
*/*: Add CPE declaration to 617 ports

  Improve CPE coverage in the ports tree to help security scanners match
  software with vulnerability reports.

  Matched project and download URLs from port metadata against references
  in the official NVD CPE dictionary. Reviewed product identities to
  distinguish applications from related components and similarly named
  projects.

Sponsored by:	OTTRIA
Differential Revision:	https://reviews.freebsd.org/D61941
0.2.3
10 Nov 2026 17:18:51
commit hash: 21fb93d02e77a62b2ed6ab7100d718b4cedbdd8ccommit hash: 21fb93d02e77a62b2ed6ab7100d718b4cedbdd8ccommit hash: 21fb93d02e77a62b2ed6ab7100d718b4cedbdd8ccommit hash: 21fb93d02e77a62b2ed6ab7100d718b4cedbdd8c files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
textproc/{,py-}sentencepiece: update 0.2.2 → 0.2.3
0.2.2
13 Jul 2026 15:45:48
commit hash: f3f511d80d7bad6d55222747c0bc83c02ab2e81acommit hash: f3f511d80d7bad6d55222747c0bc83c02ab2e81acommit hash: f3f511d80d7bad6d55222747c0bc83c02ab2e81acommit hash: f3f511d80d7bad6d55222747c0bc83c02ab2e81a files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
textproc/{,py-}sentencepiece: update 0.2.1 → 0.2.2
0.2.1
12 Nov 2025 04:06:20
commit hash: 66d7285855b17a9f0575cebf4442f1c4948ece34commit hash: 66d7285855b17a9f0575cebf4442f1c4948ece34commit hash: 66d7285855b17a9f0575cebf4442f1c4948ece34commit hash: 66d7285855b17a9f0575cebf4442f1c4948ece34 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
textproc/sentencepiece: update 0.2.0 → 0.2.1
0.2.0_1
10 Apr 2025 16:45:57
commit hash: f3aaf3992bf28a8af00347e3bb2037256bf030b8commit hash: f3aaf3992bf28a8af00347e3bb2037256bf030b8commit hash: f3aaf3992bf28a8af00347e3bb2037256bf030b8commit hash: f3aaf3992bf28a8af00347e3bb2037256bf030b8 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
textproc/sentencepiece: Add GPERFTOOLS option
0.2.0
20 Feb 2024 07:09:21
commit hash: 2250e98fcb23f5d0b09e6eaaa1426ec278d327b1commit hash: 2250e98fcb23f5d0b09e6eaaa1426ec278d327b1commit hash: 2250e98fcb23f5d0b09e6eaaa1426ec278d327b1commit hash: 2250e98fcb23f5d0b09e6eaaa1426ec278d327b1 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
textproc/{,py-}sentencepiece: update 0.1.99 → 0.2.0

Reported by:	portscout
0.1.99
03 Jun 2023 07:43:33
commit hash: bf9a09848651a7beb8f088b7ea6f7154c19e5892commit hash: bf9a09848651a7beb8f088b7ea6f7154c19e5892commit hash: bf9a09848651a7beb8f088b7ea6f7154c19e5892commit hash: bf9a09848651a7beb8f088b7ea6f7154c19e5892 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
textproc/sentencepiece: Update 0.1.98 → 0.1.99

Reported by:	portscout
0.1.98
18 Apr 2023 04:38:14
commit hash: f950371a249066d579f1c8e65773c79fa1051277commit hash: f950371a249066d579f1c8e65773c79fa1051277commit hash: f950371a249066d579f1c8e65773c79fa1051277commit hash: f950371a249066d579f1c8e65773c79fa1051277 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
textproc/{,py-}sentencepiece: Update 0.1.97 → 0.1.98

Reported by:	portscout
0.1.97
16 Jan 2023 09:41:00
commit hash: 922291e019260419b7bf80e0db65caf4563c2174commit hash: 922291e019260419b7bf80e0db65caf4563c2174commit hash: 922291e019260419b7bf80e0db65caf4563c2174commit hash: 922291e019260419b7bf80e0db65caf4563c2174 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
textproc/sentencepiece: New port: Unsupervised text tokenizer for Neural
Network-based text generation

Number of commits found: 9