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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ed0969e1a47290b686fb1b035fc7b992fe16b47b88a5dbef9f3f7cd82e1a24a |
|
MD5 | 9df74fee8c6c0590b678004039422545 |
|
BLAKE2b-256 | d25a44bce17038caa12b45ad0514f72c983d1b04ae6bea634811c0e9905df539 |
Close
Hashes for th_simple_preprocessor-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97b87644de43e9628fca26cff6cb14736ff17b7f7831a46fa5f32a4ca60bb124 |
|
MD5 | de9778a1d4142372c70d378bcd914e73 |
|
BLAKE2b-256 | 8d4f416dee8f838432ae4d3d998d5c27c4acf19890393b122b340c1a3bebdcfb |