Skip to main content

ailia Tokenizer Python API

!! CAUTION !! “ailia” IS NOT OPEN SOURCE SOFTWARE (OSS). As long as user complies with the conditions stated in License Document, user may use the Software for free of charge, but the Software is basically paid software.

About ailia Tokenizer

The ailia Tokenizer is an NLP tokenizer that can be used from Unity or C++. The tokenizer is an API for converting text into tokens (sequences of symbols) that AI can handle, or for converting tokens back into text.

Traditionally, tokenization has been performed using Pytorch's Transformers. However, since Transformers only work with Python, there has been an issue of not being able to tokenize from applications on Android or iOS.

With ailia Tokenizer, this problem is solved by directly performing NLP tokenization without using Pytorch's Transforms. This makes it possible to perform tokenization on Android and iOS as well.

Since ailia Tokenizer includes Mecab and SentencePiece, it is possible to perform complex tokenizations, such as those for BERT Japanese or Sentence Transformer, on the device.

Install from pip

You can install the ailia SDK free evaluation package with the following command.

pip3 install ailia_tokenizer

Install from package

You can install the ailia SDK from Package with the following command.

python3 bootstrap.py
pip3 install .

API specification

https://github.com/ailia-ai/ailia-sdk

Metadata

Release files for ailia-tokenizer 1.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ailia-tokenizer 1.6.1
File Size Uploaded Provenance Actions
ailia_tokenizer-1.6.1.tar.gz 20.2 MB Without provenance Details for ailia_tokenizer-1.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ailia-tokenizer 1.6.1
File Interpreter ABI Platform Actions
ailia_tokenizer-1.6.1-py3-none-any.whl Python 3 none any Details for ailia_tokenizer-1.6.1-py3-none-any.whl

Total release size: 40.7 MB

Release files / ailia_tokenizer-1.6.1.tar.gz

Download URL ailia_tokenizer-1.6.1.tar.gz
Size 20.2 MB
Tags Source
SHA-256 checksum
How to use checksums
31e931be2178315791857caf0440c435d1224586352381a95fd5b60e6c5b0378
BLAKE2b-256 checksum
How to use checksums
e799249582d68a6696b0d6f1d6612898c125d9365a95b586ebf4661825cf8848
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.13

Release files / ailia_tokenizer-1.6.1-py3-none-any.whl

Download URL ailia_tokenizer-1.6.1-py3-none-any.whl
Size 20.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
fe359a677377b0fb0fa69931e061feb934fdd5d27cfb2a48687bf878aea6d1f3
BLAKE2b-256 checksum
How to use checksums
82ee068c8a302262cea290ce09eb5741fb9222f10c5bc479a1a7dd4b89a846e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.13

Security for ailia-tokenizer 1.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page