Skip to main content

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 WSLINK

Package reference:

Copyright

All licenses in this repository are copyrighted by their respective authors. Everything else is released under CC0. See LICENSE for details.

Metadata

Release files for th-simple-preprocessor 0.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for th-simple-preprocessor 0.10.1
File Size Uploaded
th-simple-preprocessor-0.10.1.tar.gz 21.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for th-simple-preprocessor 0.10.1
File Interpreter ABI Platform
th_simple_preprocessor-0.10.1-py3-none-any.whl Python 3 none any Details

Total release size: 42.0 kB

Release files / th-simple-preprocessor-0.10.1.tar.gz

Download URL th-simple-preprocessor-0.10.1.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5900044680ab3681571216f043ace1b4e01e46dacb88ca55643c8293782817ba
BLAKE2b-256 checksum
How to use checksums
6c530dc483089e5efec48e0f3ed57fec4b1c18c360cc37256cb5ccffbe8e6e12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Release files / th_simple_preprocessor-0.10.1-py3-none-any.whl

Download URL th_simple_preprocessor-0.10.1-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be0264d87aeed90612baea860cb09b2481f1127b8ff12fe655577e4e4b8ad486
BLAKE2b-256 checksum
How to use checksums
d73ea76ec468700d4fc2405c74d4bd733cd97b670d2c7cd6d1177add152dc975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.10.1 This release

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page