# thaibraille
Thai Braille for Natural Language Processing.
สวัสดีชาวโลก
> ⠎⠺⠜⠎⠙⠆ ⠬⠡⠺ ⠊⠇⠛
## Install
> pip install thaibraille
## Usage
**Thai word to braille**
```python
from thaibraille import thai_word_braille
print(thai_word_braille("แมว"))
# output: ⠣⠍⠺
```
This function support Thai and number only.
**Thai text to braille**
```python
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.
```
Raw data
{
"_id": null,
"home_page": "https://github.com/pythainlp/thaibraille",
"name": "thaibraille",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "thai,NLP,natural language processing,text analytics,text processing,localization,computational linguistics,thai language",
"author": "Wannaphong Phatthiyaphaibun",
"author_email": "wannaphong@yahoo.com",
"download_url": "https://files.pythonhosted.org/packages/26/06/d24b36d11c2a05eeb21ab984a31018d599e3aa03c080830819e5bd984125/thaibraille-0.1.dev2.tar.gz",
"platform": null,
"description": "# thaibraille\nThai Braille for Natural Language Processing.\n\n\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\u0e0a\u0e32\u0e27\u0e42\u0e25\u0e01\n> \u280e\u283a\u281c\u280e\u2819\u2806 \u282c\u2821\u283a \u280a\u2807\u281b\n\n## Install\n\n> pip install thaibraille\n\n## Usage\n\n**Thai word to braille**\n\n```python\nfrom thaibraille import thai_word_braille\n\nprint(thai_word_braille(\"\u0e41\u0e21\u0e27\"))\n\n# output: \u2823\u280d\u283a\n```\n\nThis function support Thai and number only.\n\n**Thai text to braille**\n\n```python\nfrom thaibraille import thai_text_braille\n\nprint(thai_text_braille(\"\u0e41\u0e21\u0e27\u0e01\u0e34\u0e19 \u0e1b\u0e25\u0e32\"))\n\n# output: ['\u2823\u280d\u283a', '\u281b\u2803\u281d', ' ', '\u282f\u2807\u2821']\n```\n\nThis function support Thai and number only.\n\n## License\n\n\n```\n Copyright 2023 Wannaphong Phatthiyaphaibun\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ```\n",
"bugtrack_url": null,
"license": "Apache Software License 2.0",
"summary": "Thai Braille for Natural Language Processing.",
"version": "0.1.dev2",
"split_keywords": [
"thai",
"nlp",
"natural language processing",
"text analytics",
"text processing",
"localization",
"computational linguistics",
"thai language"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "28f199411af907a0b0caee10060ec97091c2d3d9d6c146520dd73805934555ac",
"md5": "ec5b6adebd7c2aea32243222b89e51d7",
"sha256": "deb8635f9d8fae86081f32dd08ed73d0377caa6f9706db07902d0df259a63e89"
},
"downloads": -1,
"filename": "thaibraille-0.1.dev2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ec5b6adebd7c2aea32243222b89e51d7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 10556,
"upload_time": "2023-03-12T05:23:26",
"upload_time_iso_8601": "2023-03-12T05:23:26.905207Z",
"url": "https://files.pythonhosted.org/packages/28/f1/99411af907a0b0caee10060ec97091c2d3d9d6c146520dd73805934555ac/thaibraille-0.1.dev2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2606d24b36d11c2a05eeb21ab984a31018d599e3aa03c080830819e5bd984125",
"md5": "0bc885bb1317393d0fc4351c86610ba7",
"sha256": "c030a05e1fbf94a523c4c08db26f97c121619dc3059c87cae3204527c6eee975"
},
"downloads": -1,
"filename": "thaibraille-0.1.dev2.tar.gz",
"has_sig": false,
"md5_digest": "0bc885bb1317393d0fc4351c86610ba7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 10440,
"upload_time": "2023-03-12T05:23:28",
"upload_time_iso_8601": "2023-03-12T05:23:28.467928Z",
"url": "https://files.pythonhosted.org/packages/26/06/d24b36d11c2a05eeb21ab984a31018d599e3aa03c080830819e5bd984125/thaibraille-0.1.dev2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-12 05:23:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "pythainlp",
"github_project": "thaibraille",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "thaibraille"
}