Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
sentencepiece Unsupervised text tokenizer for Neural Network-based text generation
0.2.2 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-07-13 15:45:48
Commit Hash: f3f511d
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 (24 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/sentencepiece-0.2.2/catalog.mk
  3. /usr/local/share/licenses/sentencepiece-0.2.2/LICENSE
  4. /usr/local/share/licenses/sentencepiece-0.2.2/APACHE20
  5. bin/spm_decode
  6. bin/spm_encode
  7. bin/spm_export_vocab
  8. bin/spm_normalize
  9. bin/spm_train
  10. include/sentencepiece.pb.h
  11. include/sentencepiece_processor.h
  12. include/sentencepiece_trainer.h
  13. lib/libsentencepiece.a
  14. lib/libsentencepiece.so
  15. lib/libsentencepiece.so.0
  16. lib/libsentencepiece.so.0.0.0
  17. lib/libsentencepiece_train.a
  18. lib/libsentencepiece_train.so
  19. lib/libsentencepiece_train.so.0
  20. lib/libsentencepiece_train.so.0.0.0
  21. libdata/pkgconfig/sentencepiece.pc
  22. @owner
  23. @group
  24. @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 = 1783926736 SHA256 (google-sentencepiece-v0.2.2_GH0.tar.gz) = 92381f713e094a15a1ccff1ac4a5315a4c4b82a99ac1332d6ac53c9dc8e1bcf1 SIZE (google-sentencepiece-v0.2.2_GH0.tar.gz) = 14160863

Packages (timestamps in pop-ups are UTC): #
sentencepiece
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.20.2.2-0.2.0_10.2.2
FreeBSD:14:quarterly0.2.20.2.2-0.2.0_10.2.2
FreeBSD:15:latest0.2.20.2.2n/a0.2.0_1n/a
FreeBSD:15:quarterly0.2.20.2.2n/a-n/a
FreeBSD:16:latest0.2.20.2.2n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
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.2: GPERFTOOLS=off: Google gperftools support ===> Use 'make config' to modify these settings
Options name: #
textproc_sentencepiece
USES: #
cmake:testing compiler:c++17-lang
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.2?dummy=/
Collapse this list.

Number of commits found: 7 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 7