Metadata-Version: 2.1
Name: FixThaiPDF
Version: 0.2
Summary: Fix Thai PDF Text
Home-page: https://github.com/wannaphong/fixthaipdf
Author: Wannaphong
Author-email: wannaphong@yahoo.com
License: Apache Software License 2.0
Project-URL: Source, https://github.com/wannaphong/fixthaipdf
Project-URL: Bug Reports, https://github.com/wannaphong/fixthaipdf/issues
Keywords: PDF,NLP,natural language processing,text analytics,text processing,localization,computational linguistics,Thai language
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Text Processing
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Text Processing :: Linguistic
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pythainlp >4.0

# FixThaiPDF
Fix Thai PDF Text

> ซ่อมข้อความจาก PDF ภาษาไทย

[![](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/wannaphong/fixthaipdf/blob/main/notebooks/test.ipynb)

## Install

> pip install fixthaipdf

## Usge

```python
from fixthaipdf import clean

clean("ข้้อความ")
```

## Tips

### How to improve the dict?

You can add more words in [fixthaipdf/dict.py](https://github.com/wannaphong/fixthaipdf/blob/main/fixthaipdf/dict.py).


## 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.
 ```
