BSD Ports

textproc/py-sentencepiece 0.2.2 FreeBSD

Unsupervised text tokenizer for Neural Network-based text generation

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
f3f511d80d
License
APACHE20
Categories
textproc
Package size
518.6 KiB, 1694.5 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

SystemPortVersion
FreeBSDtextproc/py-sentencepiece0.2.2
NetBSDtextproc/py-sentencepiece0.2.1
MidnightBSDtextproc/py-sentencepiece0.2.1_1

Install

Binary package:

pkg install py312-sentencepiece

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-sentencepiece>0:textproc/py-sentencepiece

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.20.2.2-0.2.0_10.2.2
FreeBSD:14:quarterly0.2.20.2.2n/a0.2.0_10.2.2
FreeBSD:15:latest0.2.20.2.2n/a0.2.0_10.2.0_1
FreeBSD:15:quarterly0.2.20.2.2n/an/an/a
FreeBSD:16:latest0.2.20.2.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 17
Run dependencies 11

Configuration

No options to configure.

USES
compiler:c++17-lang pkgconfig python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
google-sentencepiece-v0.2.2_GH0.tar.gz1.4160863e+0792381f713e094a15a1ccff1ac4a5315a4c4b82a99ac1332d6ac53c9dc8e1bcf1

Commit history 1

DateCommitCreditsLog message
f3f511d80d Yuri Victorovich textproc/{,py-}sentencepiece: update 0.2.1 → 0.2.2