ailiaTokenizerGetTokenCount method

int ailiaTokenizerGetTokenCount(
  1. Pointer<AILIATokenizer> net,
  2. Pointer<UnsignedInt> count
)

Gets the number of tokens.

Parameters:

  • net: A tokenizer instance pointer
  • count: The number of objects

Returns:

If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaTokenizerGetTokenCount(
  ffi.Pointer<AILIATokenizer> net,
  ffi.Pointer<ffi.UnsignedInt> count,
) {
  return _ailiaTokenizerGetTokenCount(
    net,
    count,
  );
}