ใบอนุญาต
kham ใช้ใบอนุญาตคู่ MIT และ Apache-2.0 คุณสามารถเลือกใช้ภายใต้ใบอนุญาตใดก็ได้ตามที่ต้องการ
MIT License
MIT License Copyright (c) 2026 Nix.Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Apache License 2.0
Copyright 2026 Nix.Labs ได้รับอนุญาตภายใต้ Apache License เวอร์ชัน 2.0 ("ใบอนุญาต") คุณไม่สามารถใช้ไฟล์นี้ได้นอกจากจะเป็นไปตามใบอนุญาต คุณสามารถรับสำเนาใบอนุญาตได้ที่ https://www.apache.org/licenses/LICENSE-2.0
ข้อความ Apache 2.0 ฉบับเต็มบน GitHub ↗การอ้างอิงข้อมูลของบุคคลที่สาม
kham บรรจุชุดข้อมูลแบบ open source หลายชุดในตอน compile time รายละเอียดแต่ละชุดพร้อมใบอนุญาตและแหล่งที่มาอยู่ด้านล่าง
| ชุดข้อมูล | ใช้สำหรับ | ใบอนุญาต | แหล่งที่มา |
|---|---|---|---|
| words_th.txt | dictionary คำภาษาไทยในตัว | CC0 1.0 | Thai word list (สาธารณสมบัติ) |
| tnc_freq.txt | ตาราง TNC frequency สำหรับ DP scoring | CC0 | Thai National Corpus (TNC) / Thai Textbook Corpus (TTC) |
| stopwords (PyThaiNLP) | Thai stop-word set (1,029 รายการ) | Apache-2.0 | โปรเจกต์ PyThaiNLP |
| ne_th.tsv — ประเทศ | NE gazetteer ชื่อประเทศ | Apache-2.0 | โปรเจกต์ PyThaiNLP |
| ne_th.tsv — Wikipedia titles | NE gazetteer สถานที่/องค์กร (+17,240 รายการ) | CC-BY-SA 4.0 | หัวข้อบทความ Wikipedia ภาษาไทย |
| ne_th.tsv — นามสกุล | NE gazetteer บุคคล (+8,980 รายการ) | CC-BY-SA 4.0 | คลังนามสกุลภาษาไทย |
| pos_th.tsv | POS tag lookup (13 หมวดหมู่ ORCHID, ~9,000 รายการ) | CC-BY 4.0 | ORCHID corpus (NECTEC) |
| romanization_th.tsv | ตาราง RTGS romanization (415 รายการ) | CC0 | ตารางถอดอักษรโรมัน RTGS ราชบัณฑิตยสภา |
ข้อมูล CC-BY-SA 4.0 ใช้เฉพาะใน dictionary ที่ฝังมากับ library binary เท่านั้น การ implement อัลกอริทึมเป็นแบบ clean-room ไม่ได้ derived จากโค้ดที่มีลิขสิทธิ์ใดๆ