ailiaTokenizerGetTokenCount method

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

~japanese @brief トークンの数を取得します。 @param net トークナイザオブジェクトポインタ @param count オブジェクト数 @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。

~english @brief Gets the number of tokens. @param net A tokenizer instance pointer @param count The number of objects @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

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