Simple Thai Preprocess Functions
Project description
th-preprocessor
Simple Thai Preprocess Functions
Objectives
This repository provides simple preprocess techniques for Thai sentences/phrases
Supports
The module supports Python 3.6+
Installation
pip install th-simple-preprocessor
How to Use
from th_preprocessor.preprocess import preprocess
text = '"::::: อย่างไรก็ตามนูร์ ฮิชัม อับดุลเลาะห์ 21-09-2018 https://www.malaysiakini.com/news/444015"'
words = preprocess(text)
print(words)
# ['อย่างไรก็ตาม', 'นูร์', 'ฮิ', 'ชัม', 'อับ', 'ดุล', 'เลาะ', 'ห์', 'wsnumber', 'wsnumber', 'wsnumber', 'wsurl']
Copyright
All licenses in this repository are copyrighted by their respective authors. Everything else is released under CC0. See LICENSE for details.
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
Built Distribution
Close
Hashes for th-simple-preprocessor-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | deefb3c0a7263fdc38f4e685513dae62bdfd643000b0f6752cfe57b259c1a6c4 |
|
MD5 | fda09568dd635f39a22a79905b104dfa |
|
BLAKE2b-256 | 45cc462843f5c0cf20dea7c6504dd29fc890a4f5350141b38da7df03fda36557 |
Close
Hashes for th_simple_preprocessor-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb12cb1fc47da192064988baf602aceb2c9a7596ca89525e4c4a69b5c224ab92 |
|
MD5 | 74463289dfc1bac1d2345c495276494e |
|
BLAKE2b-256 | 4df545b18f8b604fd0ab55b6447d92bd3a11b0897d2f95b2e2b4f7124a0a2e35 |