@Namespace(value="sentencepiece") @NoOffset @Properties(inherit=sentencepiece.class) public class ImmutableSentencePieceText extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ImmutableSentencePieceText() |
ImmutableSentencePieceText(long size)
Native array allocator.
|
ImmutableSentencePieceText(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ConvertToUnicodeSpans() |
ImmutableSentencePieceText |
getPointer(long i) |
SentencePieceText |
mutable_proto() |
long |
pieces_size() |
ImmutableSentencePieceText_ImmutableSentencePiece |
pieces() |
ImmutableSentencePieceText_ImmutableSentencePiece |
pieces(int index) |
ImmutableSentencePieceText |
position(long position) |
float |
score() |
String |
SerializeAsString() |
String |
text() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ImmutableSentencePieceText(Pointer p)
Pointer(Pointer)
.public ImmutableSentencePieceText(long size)
Pointer.position(long)
.public ImmutableSentencePieceText()
public ImmutableSentencePieceText position(long position)
public ImmutableSentencePieceText getPointer(long i)
getPointer
in class Pointer
@StdVector public ImmutableSentencePieceText_ImmutableSentencePiece pieces()
@ByVal public ImmutableSentencePieceText_ImmutableSentencePiece pieces(int index)
@StdString public String text()
public float score()
@StdString public String SerializeAsString()
public SentencePieceText mutable_proto()
public void ConvertToUnicodeSpans()
Copyright © 2024. All rights reserved.