Thai Braille for Natural Language Processing.
Project description
thaibraille
Thai Braille for Natural Language Processing.
สวัสดีชาวโลก
⠎⠺⠜⠎⠙⠆ ⠬⠡⠺ ⠊⠇⠛
Install
pip install thaibraille
Usage
Thai word to braille
from thaibraille import thai_word_braille
print(thai_word_braille("แมว"))
# output: ⠣⠍⠺
This function support Thai and number only.
Thai text to braille
from thaibraille import thai_text_braille
print(thai_text_braille("แมวกิน ปลา"))
# output: ['⠣⠍⠺', '⠛⠃⠝', ' ', '⠯⠇⠡']
This function support Thai and number only.
License
Copyright 2023 Wannaphong Phatthiyaphaibun
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
thaibraille-0.1.dev2.tar.gz
(10.4 kB
view details)
Built Distribution
File details
Details for the file thaibraille-0.1.dev2.tar.gz
.
File metadata
- Download URL: thaibraille-0.1.dev2.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c030a05e1fbf94a523c4c08db26f97c121619dc3059c87cae3204527c6eee975 |
|
MD5 | 0bc885bb1317393d0fc4351c86610ba7 |
|
BLAKE2b-256 | 2606d24b36d11c2a05eeb21ab984a31018d599e3aa03c080830819e5bd984125 |
File details
Details for the file thaibraille-0.1.dev2-py3-none-any.whl
.
File metadata
- Download URL: thaibraille-0.1.dev2-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | deb8635f9d8fae86081f32dd08ed73d0377caa6f9706db07902d0df259a63e89 |
|
MD5 | ec5b6adebd7c2aea32243222b89e51d7 |
|
BLAKE2b-256 | 28f199411af907a0b0caee10060ec97091c2d3d9d6c146520dd73805934555ac |