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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a273ce868f1e0f4a5dfb60204f99699511e3d20b10e80f222ed7aea2e3f4342 |
|
MD5 | c8ba64d1252d0434aa5c830bb959639d |
|
BLAKE2b-256 | 9f5c2125e325242dee2e08c1cbca69e6e5ec0035afc31d0568ba1b2b252203fb |
Close
Hashes for th_simple_preprocessor-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7193bada5bc193da31249a38f49e5529e424cfb9c99f4bc49f01ca850d0dfe0 |
|
MD5 | 0d5465988bb345ca78b3de7047dfa61e |
|
BLAKE2b-256 | 94ae4c265efc50db82417f57175fd2e9aa942e970b052a574b6aaec6bdeb4e8c |