1- # PyThaiNLP: Thai Natural Language Processing in Python
1+ # PyThaiNLP ประมวลผลภาษาไทยด้วย Python
22
33![ Project Logo] ( https://avatars0.githubusercontent.com/u/32934255?s=200&v=4 )
44
1414[ ![ Chat on Matrix] ( https://matrix.to/img/matrix-badge.svg )] ( https://matrix.to/#/#thainlp:matrix.org )
1515
1616[ pythainlp.org] ( https://pythainlp.org/ ) |
17- [ Tutorials ] ( https://pythainlp.org/tutorials ) |
18- [ License info ] ( https://pythainlp.org/dev-docs/notes/license.html ) |
19- [ Model cards ] ( https://github.com/PyThaiNLP/pythainlp/wiki/Model-Cards ) |
20- [ Adopters ] ( https://github.com/PyThaiNLP/pythainlp/blob/dev/INTHEWILD.md ) |
17+ [ วิธีใช้งาน ] ( https://pythainlp.org/tutorials ) |
18+ [ ข้อมูลสัญญาอนุญาต ] ( https://pythainlp.org/dev-docs/notes/license.html ) |
19+ [ ใบข้อมูลโมเดล ] ( https://github.com/PyThaiNLP/pythainlp/wiki/Model-Cards ) |
20+ [ ใครใช้ PyThaiNLP บ้าง ] ( https://github.com/PyThaiNLP/pythainlp/blob/dev/INTHEWILD.md ) |
2121* [ English] ( https://github.com/PyThaiNLP/pythainlp/blob/dev/README.md ) *
2222
23- PyThaiNLP เป็นไลบารีภาษาไพทอนสำหรับประมวลผลภาษาธรรมชาติ โดยเน้นภาษาไทย
2423** PyThaiNLP** ถูกออกแบบให้เป็นเครื่องมือมาตรฐานสำหรับการวิเคราะห์ภาษาศาสตร์ภาษาไทย
2524ภายใต้สัญญาอนุญาต Apache-2.0 โดยข้อมูลและโมเดลอยู่ภายใต้ CC0-1.0 และ CC-BY-4.0
2625
2726``` sh
2827pip install pythainlp
2928```
3029
31- | Version | Python version | Changes | Documentation |
32- | :-------: | :--------------: | :-------: | :-------------: |
30+ | รุ่น | รุ่นของ Python | มีอะไรเปลี่ยน | เอกสาร |
31+ | :-: | :-: | :-: | :-: |
3332| [ 5.2.0] ( https://github.com/PyThaiNLP/pythainlp/releases ) | 3.7+ | [ Log] ( https://github.com/PyThaiNLP/pythainlp/issues/1080 ) | [ pythainlp.org/docs] ( https://pythainlp.org/docs ) |
3433| [ ` dev ` ] ( https://github.com/PyThaiNLP/pythainlp/tree/dev ) | 3.9+ | [ Log] ( https://github.com/PyThaiNLP/pythainlp/issues/1169 ) | [ pythainlp.org/dev-docs] ( https://pythainlp.org/dev-docs/ ) |
3534
3635## ความสามารถ
3736
38- - ** หน่วยภาษาศาสตร์ :** การแบ่งประโยค คำ และหน่วยคำย่อย
37+ - ** วิเคราะห์หน่วยทางภาษา :** การแบ่งประโยค คำ และหน่วยคำย่อย
3938 (` sent_tokenize ` , ` word_tokenize ` , ` subword_tokenize ` )
40- - ** การกำกับหน้าที่ :** Part -of-speech tagging (` pos_tag ` )
41- - ** การถอดอักษร :** Romanization (` transliterate ` ) และการแปลงเป็น IPA
42- - ** การแก้ไข :** การแนะนำและแก้ไขการสะกด (` spell ` , ` correct ` )
43- - ** เครื่องมือเสริม:** Soundex , การเรียงลำดับ, แปลงตัวเลขเป็นข้อความ (` bahttext ` ),
39+ - ** กำกับหน้าที่ของคำ :** part -of-speech tagging (` pos_tag ` )
40+ - ** ถอดอักษร :** การถ่ายเสียงเป็นอักษรโรมัน (` transliterate ` ) และการแปลงเป็น IPA
41+ - ** ตรวจตัวสะกด :** การแนะนำและแก้ไขการสะกด (` spell ` , ` correct ` )
42+ - ** เครื่องมือเสริม:** soundex , การเรียงลำดับ, แปลงตัวเลขเป็นข้อความ (` bahttext ` ),
4443 การจัดรูปแบบวันที่ (` thai_strftime ` ), และแก้ไขการสลับแป้นพิมพ์
45- - ** ข้อมูล :** ชุดตัวอักษรไทย, รายการคำ, และคำหยุด (stop words)
46- - ** CLI:** Command-line interface ผ่าน ` thainlp `
44+ - ** คลังภาษา :** ชุดตัวอักษรไทย, รายการคำ, และคำหยุด (stop words)
45+ - ** CLI:** ใช้งานทาง command line ด้วย ` thainlp `
4746
4847 ``` sh
4948 thainlp data catalog # แสดงรายการชุดข้อมูล
@@ -58,7 +57,7 @@ pip install pythainlp
5857pip install " pythainlp[extra1,extra2,...]"
5958```
6059
61- ` extras ` ที่เป็นไปได้ :
60+ ` extras ` ที่ใช้ได้ :
6261
6362<details >
6463 <summary >รายการสำหรับติดตั้งผ่าน <code >extras</code ></summary >
@@ -89,7 +88,7 @@ pip install "pythainlp[extra1,extra2,...]"
8988- ` thai_nner ` — รองรับการจดจำเอนทิตีชื่อภาษาไทย
9089- ` thai2fit ` — เวกเตอร์คำภาษาไทย (thai2fit)
9190- ` thai2rom ` — การถอดอักษรด้วยแมชชีนเลิร์นนิง
92- - ` transformers_ud ` — รองรับเอนจิน transformers_ud
91+ - ` transformers_ud ` — รองรับ Universal Dependencies ด้วย transformers
9392- ` translate ` — รองรับการแปลภาษาด้วยแมชชีน
9493- ` wangchanberta ` — โมเดล WangchanBERTa
9594- ` wangchanglm ` — รองรับโมเดล WangchanGLM
@@ -130,12 +129,11 @@ PyThaiNLP ดาวน์โหลดข้อมูล (ดูแค็ตต
130129
131130## การอ้างอิง
132131
133- หากคุณใช้ ` PyThaiNLP ` ในโครงงานหรืองานวิจัยของคุณ
134- กรุณาอ้างอิงไลบารีดังนี้:
132+ หากคุณใช้ซอฟต์แวร์ ` PyThaiNLP ` ในโครงงานหรืองานวิจัยของคุณ คุณสามารถอ้างอิงได้ตามนี้:
135133
136134> Phatthiyaphaibun, Wannaphong, Korakot Chaovavanich, Charin Polpanumas, Arthit Suriyawongkul, Lalita Lowphansirikul, and Pattarawat Chormai. “Pythainlp: Thai Natural Language Processing in Python”. Zenodo, 2 June 2024. < http://doi.org/10.5281/zenodo.3519354 > .
137135
138- หรือ BibTeX entry :
136+ โดยใช้รายการ BibTeX นี้ :
139137
140138``` bibtex
141139@software{pythainlp,
@@ -155,11 +153,13 @@ PyThaiNLP ดาวน์โหลดข้อมูล (ดูแค็ตต
155153}
156154```
157155
158- บทความของเราใน [ NLP-OSS 2023] ( https://nlposs.github.io/2023/ ) :
156+ หากคุณอ้างอิงงานวิจัยของเราในงานประชุมวิชาการ
157+ [ NLP-OSS 2023] ( https://nlposs.github.io/2023/ )
158+ คุณสามารถอ้างอิงได้ตามนี้:
159159
160160> Wannaphong Phatthiyaphaibun, Korakot Chaovavanich, Charin Polpanumas, Arthit Suriyawongkul, Lalita Lowphansirikul, Pattarawat Chormai, Peerat Limkonchotiwat, Thanathip Suntorntip, and Can Udomcharoenchaikit. 2023. [ PyThaiNLP: Thai Natural Language Processing in Python.] ( https://aclanthology.org/2023.nlposs-1.4 ) In Proceedings of the 3rd Workshop for Natural Language Processing Open Source Software (NLP-OSS 2023), pages 25–36, Singapore, Singapore. Empirical Methods in Natural Language Processing.
161161
162- และ BibTeX entry :
162+ โดยใช้รายการ BibTeX นี้ :
163163
164164``` bibtex
165165@inproceedings{phatthiyaphaibun-etal-2023-pythainlp,
@@ -191,8 +191,8 @@ PyThaiNLP ดาวน์โหลดข้อมูล (ดูแค็ตต
191191
192192## สัญญาอนุญาต
193193
194- | | สัญญาอนุญาต |
195- | :--- | :---- |
194+ | เนื้อหา | สัญญาอนุญาต |
195+ | :-- | :-- |
196196| ซอร์สโค้ดและโน๊ตบุ๊กของ PyThaiNLP | [ Apache Software License 2.0] ( https://github.com/PyThaiNLP/pythainlp/blob/dev/LICENSE ) |
197197| คลังข้อมูล ชุดข้อมูล และเอกสารที่สร้างโดยโครงการ PyThaiNLP | [ Creative Commons Zero 1.0 Universal Public Domain Dedication License (CC0)] ( https://creativecommons.org/publicdomain/zero/1.0/ ) |
198198| โมเดลภาษาที่สร้างโดยโครงการ PyThaiNLP | [ Creative Commons Attribution 4.0 International Public License (CC-BY)] ( https://creativecommons.org/licenses/by/4.0/ ) |
@@ -203,7 +203,7 @@ PyThaiNLP ดาวน์โหลดข้อมูล (ดูแค็ตต
203203| โลโก้ | รายละเอียด |
204204| --- | ----------- |
205205| [ ![ VISTEC-depa Thailand Artificial Intelligence Research Institute] ( https://airesearch.in.th/assets/img/logo/airesearch-logo.svg )] ( https://airesearch.in.th/ ) | ตั้งแต่ปี 2019 ผู้ร่วมพัฒนาของเรา Korakot Chaovavanich และ Lalita Lowphansirikul ได้รับการสนับสนุนจาก [ VISTEC-depa Thailand Artificial Intelligence Research Institute] ( https://airesearch.in.th/ ) |
206- | [ ![ MacStadium] ( https://i.imgur.com/rKy1dJX.png )] ( https://www.macstadium.com ) | เราได้รับการสนับสนุน Mac Mini M1 ฟรีจาก [ MacStadium] ( https://www.macstadium.com ) สำหรับการรัน CI builds |
206+ | [ ![ MacStadium] ( https://i.imgur.com/rKy1dJX.png )] ( https://www.macstadium.com ) | เราได้รับการสนับสนุน Mac Mini M1 จาก [ MacStadium] ( https://www.macstadium.com ) สำหรับการรัน CI builds |
207207
208208------
209209
0 commit comments