Package | Description |
---|---|
org.bytedeco.sentencepiece |
Modifier and Type | Method and Description |
---|---|
IntVector |
SentencePieceProcessor.EncodeAsIds(String input) |
IntVector |
IntVectorFloatPairVector.first(long i) |
IntVector |
SentencePieceProcessor.NBestEncodeAsIds(String input,
int nbest_size) |
IntVector |
IntVector.push_back(int value) |
IntVector |
IntVector.put(int... array) |
IntVector |
IntVector.put(int value) |
IntVector |
IntVector.put(IntVector x) |
IntVector |
IntVector.put(long i,
int value) |
IntVector |
SentencePieceProcessor.SampleEncodeAsIds(String input,
int nbest_size,
float alpha) |
Modifier and Type | Method and Description |
---|---|
Status |
SentencePieceProcessor.Decode(IntVector ids,
BytePointer detokenized) |
Status |
SentencePieceProcessor.Decode(IntVector ids,
SentencePieceText spt) |
String |
SentencePieceProcessor.DecodeIds(IntVector ids) |
ImmutableSentencePieceText |
SentencePieceProcessor.DecodeIdsAsImmutableProto(IntVector ids) |
String |
SentencePieceProcessor.DecodeIdsAsSerializedProto(IntVector ids) |
Status |
SentencePieceProcessor.Encode(String input,
IntVector ids) |
IntVectorFloatPairVector |
IntVectorFloatPairVector.first(long i,
IntVector first) |
Status |
SentencePieceProcessor.NBestEncode(String input,
int nbest_size,
IntVector ids) |
IntVector |
IntVector.put(IntVector x) |
IntVectorFloatPairVector |
IntVectorFloatPairVector.put(IntVector[] firstValue,
float[] secondValue) |
Status |
SentencePieceProcessor.SampleEncode(String input,
int nbest_size,
float alpha,
IntVector ids) |
Constructor and Description |
---|
IntVectorFloatPairVector(IntVector[] firstValue,
float[] secondValue) |
Copyright © 2024. All rights reserved.