{"name":"sentencepiece","portdir":"textproc/sentencepiece","version":"0.2.1","license":"Apache-2","platforms":"darwin","epoch":0,"replaced_by":null,"homepage":"https://github.com/google/sentencepiece","description":"Unsupervised text tokenizer for Neural Network-based text generation.","long_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) (Sennrich et al.) and unigram language model (Kudo)) 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.","active":true,"categories":["textproc"],"maintainers":[],"variants":["debug","universal"],"dependencies":[{"type":"build","ports":["cmake","clang-20"]},{"type":"lib","ports":["gperftools","protobuf3-cpp"]}],"depends_on":[{"type":"lib","ports":["py37-sentencepiece","py38-sentencepiece","py311-sentencepiece","py310-sentencepiece","py312-sentencepiece","py313-sentencepiece","py314-sentencepiece","py39-sentencepiece"]}]}