Skip to content

Commit a02a03d

Browse files
authored
Merge pull request PyThaiNLP#31 from wannaphongcom/pythainlp1.4
PyThaiNLP 1.4
2 parents 43913c5 + ec0afd1 commit a02a03d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+5294
-651
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@
33

44
language: python
55
python:
6-
- "2.7"
76
- "3.4"
87
- "3.5"
98
- "3.6"
109
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
11-
install: pip install -U tox
10+
install:
11+
- pip install -r requirements-travis.txt
12+
- pip install coveralls
1213

1314
os:
1415
- linux
1516
# command to run tests, e.g. python setup.py test
16-
script: python setup.py test
17+
script:
18+
coverage run --source=pythainlp setup.py test
19+
after_success:
20+
coveralls
1721

1822
# After you create the Github repo and add it to Travis, run the
1923
# travis_pypi_setup.py script to finish PyPI deployment setup

AUTHORS.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ Development Lead
77

88
* Wannaphong Phatthiyaphaibun <wannaphong@yahoo.com>
99

10+
TCC & THAI SOUNDEX CODE
11+
------------
12+
13+
* Korakot Chaovavanich
14+
1015
Contributors
1116
------------
1217

CONTRIBUTING.rst

Lines changed: 0 additions & 114 deletions
This file was deleted.

README.md

Lines changed: 88 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,101 @@
22
[![PyPI Downloads](https://img.shields.io/pypi/dm/pythainlp.png)]
33
[![pypi](https://img.shields.io/pypi/v/pythainlp.svg)](https://pypi.python.org/pypi/pythainlp)
44
[![Build Status](https://travis-ci.org/wannaphongcom/pythainlp.svg?branch=develop)](https://travis-ci.org/wannaphongcom/pythainlp)
5-
[![Build status](https://ci.appveyor.com/api/projects/status/uxerymgggp1uch0p?svg=true)](https://ci.appveyor.com/project/wannaphongcom/pythainlp)
5+
[![Build status](https://ci.appveyor.com/api/projects/status/uxerymgggp1uch0p?svg=true)](https://ci.appveyor.com/project/wannaphongcom/pythainlp)[![Code Issues](https://www.quantifiedcode.com/api/v1/project/7f699ed4cad24be18d0d24ebd60d7543/badge.svg)](https://www.quantifiedcode.com/app/project/7f699ed4cad24be18d0d24ebd60d7543)[![Coverage Status](https://coveralls.io/repos/github/wannaphongcom/pythainlp/badge.svg?branch=pythainlp1.4)](https://coveralls.io/github/wannaphongcom/pythainlp?branch=pythainlp1.4)
66

7+
## English
78

8-
Homepages :[https://sites.google.com/view/pythainlp/home](https://sites.google.com/view/pythainlp/home)
9+
Thai natural language processing in Python.
10+
11+
PyThaiNLP is python module like nltk , but It's working with thai language.
12+
13+
It's support python 3.4 +.
14+
15+
### Project status
16+
17+
Developing
18+
19+
### Version
20+
21+
1.4
22+
23+
### Capability
24+
25+
- Thai segment
26+
- Thai wordnet
27+
- Thai Character Clusters (TCC) and ETCC
28+
- Thai stop word
29+
- Thai meta sound
30+
- Thai soundex
31+
- Thai postaggers
32+
- Thai romanization
33+
- Check the wrong words in Thai.
34+
35+
and much more.
36+
37+
### Install
38+
39+
**using pip.**
40+
41+
```sh
42+
$ pip install pythainlp
43+
```
44+
45+
**Install in Windows**
46+
47+
download pyicu from [http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyicu](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyicu) than install pyicu. install pythainlp using pip.
48+
49+
```
50+
pip install pythainlp
51+
```
52+
53+
**Install in MacOS**
54+
55+
```sh
56+
$ brew install icu4c --force
57+
$ brew link --force icu4c
58+
$ CFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib pip install pythainlp
59+
```
60+
61+
### Documentation
62+
63+
Read on https://github.com/wannaphongcom/pythainlp/blob/pythainlp1.4/docs/pythainlp-1-4-eng.md
64+
65+
### License
66+
67+
Apache Software License 2.0
68+
69+
## ภาษาไทย
70+
71+
[![PyPI Downloads](https://img.shields.io/pypi/dm/pythainlp.png)]
72+
[![pypi](https://img.shields.io/pypi/v/pythainlp.svg)](https://pypi.python.org/pypi/pythainlp)
73+
[![Build Status](https://travis-ci.org/wannaphongcom/pythainlp.svg?branch=develop)](https://travis-ci.org/wannaphongcom/pythainlp)
74+
[![Build status](https://ci.appveyor.com/api/projects/status/uxerymgggp1uch0p?svg=true)](https://ci.appveyor.com/project/wannaphongcom/pythainlp)[![Code Issues](https://www.quantifiedcode.com/api/v1/project/7f699ed4cad24be18d0d24ebd60d7543/badge.svg)](https://www.quantifiedcode.com/app/project/7f699ed4cad24be18d0d24ebd60d7543)[![Coverage Status](https://coveralls.io/repos/github/wannaphongcom/pythainlp/badge.svg?branch=pythainlp1.4)](https://coveralls.io/github/wannaphongcom/pythainlp?branch=pythainlp1.4)
975

1076
ประมวลภาษาธรรมชาติภาษาไทยในภาษา Python
1177

12-
Natural language processing หรือ การประมวลภาษาธรรมชาติ โมดูล PyThaiNLP เป็นโมดูลที่ถูกพัฒนาขึ้นเพื่องานวิจัยและพัฒนาการประมวลภาษาธรรมชาติภาษาไทยในภาษา Python
78+
Natural language processing หรือ การประมวลภาษาธรรมชาติ โมดูล PyThaiNLP เป็นโมดูลที่ถูกพัฒนาขึ้นเพื่อพัฒนาการประมวลภาษาธรรมชาติภาษาไทยในภาษา Python และ**มันฟรี (ตลอดไป) เพื่อคนไทยและชาวโลกทุกคน !**
79+
80+
> เพราะโลกขับเคลื่อนต่อไปด้วยการแบ่งปัน
1381
1482
รองรับ Python 3.4 ขึ้นไป
1583

16-
- เอกสารการใช้งาน : [https://sites.google.com/view/pythainlp/home](https://sites.google.com/view/pythainlp/home)
1784
- หน้าหลัก GitHub : [https://github.com/wannaphongcom/pythainlp](https://github.com/wannaphongcom/pythainlp)
1885

1986
### สถานะโครงการ
2087

2188
กำลังพัฒนา
2289

2390
### Version
24-
1.3
91+
1.4
92+
93+
### สิ่งใหม่ที่เพิ่มเข้ามาใน PyThaiNLP 1.4
94+
95+
- รองรับ Thai Character Clusters (TCC) และ ETCC
96+
- Thai WordNet ตัวใหม่
97+
- เพิ่มหลักเกณฑ์การถอดอักษรไทยเป็นอักษรโรมัน ฉบับราชบัณฑิตยสถาน
98+
- เพิ่ม Meta Sound ภาษาไทย
99+
- เพิ่ม Thai Soundex
25100

26101
### ความสามารถ
27102
- ตัดคำภาษาไทย
@@ -31,9 +106,14 @@ Natural language processing หรือ การประมวลภาษา
31106
- เรียงจำนวนคำของประโยค
32107
- แก้ไขปัญหาการพิมพ์ลืมเปลี่ยนภาษา
33108
- เช็คคำผิดในภาษาไทย
109+
- รองรับ Thai Character Clusters (TCC) และ ETCC
110+
- Thai WordNet
111+
- Stop Word ภาษาไทย
112+
- Meta Sound ภาษาไทย
113+
- Thai Soundex
34114
- และอื่น ๆ
35115

36-
# ติดตั้ง
116+
### ติดตั้ง
37117

38118
รองรับ Python 3.4 ขึ้นไป
39119

@@ -70,9 +150,9 @@ $ CFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib pip i
70150
ข้อมูลเพิ่มเติม [คลิกที่นี้](https://medium.com/data-science-cafe/install-polyglot-on-mac-3c90445abc1f#.rdfrorxjx)
71151

72152

73-
# เอกสารการใช้งานเบื้องต้น
153+
### เอกสารการใช้งาน
74154

75-
อ่านได้ที่ https://github.com/wannaphongcom/pythainlp/blob/master/docs/pythainlp-1-3-thai.md
155+
อ่านได้ที่ https://github.com/wannaphongcom/pythainlp/blob/pythainlp1.4/docs/pythainlp-1-4-thai.md
76156

77157
### License
78158

References.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# References
2+
3+
Snae & Brückner. (2009). Novel Phonetic Name Matching Algorithm with a Statistical Ontology for Analysing Names Given in Accordance with Thai Astrology. Retrieved from https://pdfs.semanticscholar.org/3983/963e87ddc6dfdbb291099aa3927a0e3e4ea6.pdf
4+
5+
T. Teeramunkong, V. Sornlertlamvanich, T. Tanhermhong and W. Chinnan, “Character cluster based Thai information retrieval,” in IRAL '00 Proceedings of the fifth international workshop on on Information retrieval with Asian languages, 2000.

0 commit comments

Comments
 (0)