Skip to content

Commit a875560

Browse files
committed
Update README and license header
1 parent d7a3b79 commit a875560

File tree

201 files changed

+246
-252
lines changed

Some content is hidden

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

201 files changed

+246
-252
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
FROM python:3.8-slim-buster
25

36
COPY . .

README.md

+25-35
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,19 @@
1313
<a href="https://matrix.to/#/#thainlp:matrix.org" rel="noopener" target="_blank"><img src="https://matrix.to/img/matrix-badge.svg" alt="Chat on Matrix"></a>
1414
</div>
1515

16-
PyThaiNLP is a Python package for text processing and linguistic analysis, similar to [NLTK](https://www.nltk.org/) with a focus on the Thai language.
16+
PyThaiNLP is a Python package for text processing and linguistic analysis, similar to [NLTK](https://www.nltk.org/) with a focus on Thai language.
1717

1818
PyThaiNLP เป็นไลบารีภาษาไพทอนสำหรับประมวลผลภาษาธรรมชาติ คล้ายกับ NLTK โดยเน้นภาษาไทย [ดูรายละเอียดภาษาไทยได้ที่ README_TH.MD](https://github.com/PyThaiNLP/pythainlp/blob/dev/README_TH.md)
1919

20-
**News**
20+
## News
2121

2222
> Now, You can contact with or ask any questions of the PyThaiNLP team. <a href="https://matrix.to/#/#thainlp:matrix.org" rel="noopener" target="_blank"><img src="https://matrix.to/img/matrix-badge.svg" alt="Chat on Matrix"></a>
2323
2424
| Version | Description | Status |
2525
|:------:|:--:|:------:|
26-
| [5.0](https://github.com/PyThaiNLP/pythainlp/releases) | Stable | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/788) |
26+
| [5.0.1](https://github.com/PyThaiNLP/pythainlp/releases) | Stable | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/788) |
2727
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | Release Candidate for 5.1 | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/900) |
2828

29-
3029
## Getting Started
3130

3231
- PyThaiNLP 2 requires Python 3.7+. Python 2.7 users can use PyThaiNLP 1.6. See [2.0 change log](https://github.com/PyThaiNLP/pythainlp/issues/118) | [Upgrading from 1.7](https://pythainlp.github.io/docs/2.0/notes/pythainlp-1_7-2_0.html) | [Upgrading ThaiNER from 1.7](https://github.com/PyThaiNLP/pythainlp/wiki/Upgrade-ThaiNER-from-PyThaiNLP-1.7-to-PyThaiNLP-2.0)
@@ -37,24 +36,20 @@ PyThaiNLP เป็นไลบารีภาษาไพทอนสำหร
3736

3837
## Capabilities
3938

40-
PyThaiNLP provides standard NLP functions for Thai, for example part-of-speech tagging, linguistic unit segmentation (syllable, word, or sentence). Some of these functions are also available via the command-line interface.
39+
PyThaiNLP provides standard linguistic analysis for Thai language and standard Thai locale utility functions.
40+
Some of these functions are also available via the command-line interface (run `thainlp` in your shell).
4141

42-
<details>
43-
<summary>List of Features</summary>
42+
Partial list of features:
4443

4544
- Convenient character and word classes, like Thai consonants (`pythainlp.thai_consonants`), vowels (`pythainlp.thai_vowels`), digits (`pythainlp.thai_digits`), and stop words (`pythainlp.corpus.thai_stopwords`) -- comparable to constants like `string.letters`, `string.digits`, and `string.punctuation`
46-
- Thai linguistic unit segmentation/tokenization, including sentence (`sent_tokenize`), word (`word_tokenize`), and subword segmentations based on Thai Character Cluster (`subword_tokenize`)
47-
- Thai part-of-speech tagging (`pos_tag`)
48-
- Thai spelling suggestion and correction (`spell` and `correct`)
49-
- Thai transliteration (`transliterate`)
50-
- Thai soundex (`soundex`) with three engines (`lk82`, `udom83`, `metasound`)
51-
- Thai collation (sorted by dictionary order) (`collate`)
52-
- Read out number to Thai words (`bahttext`, `num_to_thaiword`)
53-
- Thai datetime formatting (`thai_strftime`)
45+
- Linguistic unit segmentation at different levels: sentence (`sent_tokenize`), word (`word_tokenize`), and subword (`subword_tokenize`)
46+
- Part-of-speech tagging (`pos_tag`)
47+
- Spelling suggestion and correction (`spell` and `correct`)
48+
- Phonetic algorithm and transliteration (`soundex` and `transliterate`)
49+
- Collation (sorted by dictionary order) (`collate`)
50+
- Number read out (`num_to_thaiword` and `bahttext`)
51+
- Datetime formatting (`thai_strftime`)
5452
- Thai-English keyboard misswitched fix (`eng_to_thai`, `thai_to_eng`)
55-
- Command-line interface for basic functions, like tokenization and POS tagging (run `thainlp` in your shell)
56-
</details>
57-
5853

5954
## Installation
6055

@@ -78,46 +73,43 @@ Some functionalities, like Thai WordNet, may require extra packages. To install
7873
pip install pythainlp[extra1,extra2,...]
7974
```
8075

81-
<details>
82-
<summary>List of possible <code>extras</code></summary>
76+
Possible `extras`:
8377

84-
- `full` (install everything)
85-
- `attacut` (to support attacut, a fast and accurate tokenizer)
86-
- `benchmarks` (for [word tokenization benchmarking](tokenization-benchmark.md))
87-
- `icu` (for ICU, International Components for Unicode, support in transliteration and tokenization)
88-
- `ipa` (for IPA, International Phonetic Alphabet, support in transliteration)
89-
- `ml` (to support ULMFiT models for classification)
90-
- `thai2fit` (for Thai word vector)
91-
- `thai2rom` (for machine-learnt romanization)
92-
- `wordnet` (for Thai WordNet API)
93-
</details>
78+
- `full` (install everything)
79+
- `attacut` (to support attacut, a fast and accurate tokenizer)
80+
- `benchmarks` (for [word tokenization benchmarking](tokenization-benchmark.md))
81+
- `icu` (for ICU, International Components for Unicode, support in transliteration and tokenization)
82+
- `ipa` (for IPA, International Phonetic Alphabet, support in transliteration)
83+
- `ml` (to support ULMFiT models for classification)
84+
- `thai2fit` (for Thai word vector)
85+
- `thai2rom` (for machine-learnt romanization)
86+
- `wordnet` (for Thai WordNet API)
9487

9588
For dependency details, look at the `extras` variable in [`setup.py`](https://github.com/PyThaiNLP/pythainlp/blob/dev/setup.py).
9689

97-
9890
## Data Directory
9991

10092
- Some additional data, like word lists and language models, may be automatically downloaded during runtime.
10193
- PyThaiNLP caches these data under the directory `~/pythainlp-data` by default.
10294
- The data directory can be changed by specifying the environment variable `PYTHAINLP_DATA_DIR`.
10395
- See the data catalog (`db.json`) at https://github.com/PyThaiNLP/pythainlp-corpus
10496

105-
10697
## Command-Line Interface
10798

10899
Some of PyThaiNLP functionalities can be used via command line with the `thainlp` command.
109100

110101
For example, to display a catalog of datasets:
102+
111103
```sh
112104
thainlp data catalog
113105
```
114106

115107
To show how to use:
108+
116109
```sh
117110
thainlp help
118111
```
119112

120-
121113
## Licenses
122114

123115
| | License |
@@ -127,7 +119,6 @@ thainlp help
127119
| Language models created by PyThaiNLP | [Creative Commons Attribution 4.0 International Public License (CC-by)](https://creativecommons.org/licenses/by/4.0/) |
128120
| Other corpora and models that may be included in PyThaiNLP | See [Corpus License](https://github.com/PyThaiNLP/pythainlp/blob/dev/pythainlp/corpus/corpus_license.md) |
129121

130-
131122
## Contribute to PyThaiNLP
132123

133124
- Please fork and create a pull request :)
@@ -137,7 +128,6 @@ thainlp help
137128

138129
You can read [INTHEWILD.md](https://github.com/PyThaiNLP/pythainlp/blob/dev/INTHEWILD.md).
139130

140-
141131
## Citations
142132

143133
If you use `PyThaiNLP` in your project or publication, please cite the library as follows:

README_TH.md

+13-19
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,17 @@
1414
</div>
1515
PyThaiNLP เป็นไลบารีภาษาไพทอนสำหรับประมวลผลภาษาธรรมชาติ โดยเน้นภาษาไทย
1616

17-
**ข่าวสาร**
17+
## ข่าวสาร
1818

1919
> คุณสามารถพูดคุยหรือแชทกับทีม PyThaiNLP หรือผู้สนับสนุนคนอื่น ๆ ได้ที่ <a href="https://matrix.to/#/#thainlp:matrix.org" rel="noopener" target="_blank"><img src="https://matrix.to/img/matrix-badge.svg" alt="Chat on Matrix"></a>
2020
2121
| รุ่น | คำอธิบาย | สถานะ |
2222
|:------:|:--:|:------:|
23-
| [5.0](https://github.com/PyThaiNLP/pythainlp/releases) | Stable | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/788) |
23+
| [5.0.1](https://github.com/PyThaiNLP/pythainlp/releases) | Stable | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/788) |
2424
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | Release Candidate for 5.1 | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/900) |
2525

2626
ติดตามพวกเราบน [PyThaiNLP Facebook page](https://www.facebook.com/pythainlp/) เพื่อรับข่าวสารเพิ่มเติม
2727

28-
2928
## เริ่มต้นกับ PyThaiNLP
3029

3130
พวกเราได้จัดทำ [PyThaiNLP Get Started Tutorial](https://pythainlp.github.io/tutorials/notebooks/pythainlp_get_started.html) สำหรับสำรวจความสามารถของ PyThaiNLP; พวกเรามีเอกสารสอนใช้งาน สามารถศึกษาได้ที่ [หน้า tutorial](https://pythainlp.github.io/tutorials).
@@ -34,7 +33,6 @@ PyThaiNLP เป็นไลบารีภาษาไพทอนสำหร
3433

3534
พวกเราพยายามทำให้โมดูลใช้งานได้ง่ายที่สุดเท่าที่จะเป็นไปได้; ตัวอย่างเช่น บางชุดข้อมูล (เช่น รายการคำและตัวแบบภาษา) จะถูกดาวน์โหลดอัตโนมัติเมื่อมีการเรียกใช้งาน โดย PyThaiNLP จะจัดเก็บข้อมูลเหล่านั้นไว้ในโฟลเดอร์ `~/pythainlp-data` เป็นค่าเริ่มต้น แต่ผู้ใช้งานสามารถระบุตำแหน่งที่ต้องการได้เองผ่านค่า environment variable `PYTHAINLP_DATA_DIR` อ่านรายละเอียดคลังข้อมูลเพิ่มเติมได้ที่ [PyThaiNLP/pythainlp-corpus](https://github.com/PyThaiNLP/pythainlp-corpus).
3635

37-
3836
## ความสามารถ
3937

4038
PyThaiNLP มีความสามารถพื้นฐานสำหรับการประมวลผลภาษาไทย ตัวอย่างเช่นการกำกับหน้าที่ของคำ (part-of-speech tagging) การแบ่งหน่วยของข้อความตามหลักภาษาศาสตร์ (พยางค์ คำ และประโยค) บางความสามารถสามารถใช้งานได้ผ่านทางคอมมานด์ไลน์
@@ -84,43 +82,42 @@ pip install pythainlp[extra1,extra2,...]
8482
<details>
8583
<summary>รายการสำหรับติดตั้งผ่าน <code>extras</code></summary>
8684

87-
- `full` (ติดตั้งทุกอย่าง)
88-
- `attacut` (เพื่อสนับสนุน attacut ซึ่งเป็นตัวตัดคำที่ทำงานได้รวดเร็วและมีประสิทธิภาพ)
89-
- `benchmarks` (สำหรับ [word tokenization benchmarking](tokenization-benchmark.md))
90-
- `icu` (สำหรับการรองรับ ICU หรือ International Components for Unicode ในการถอดเสียงเป็นอักษรและการตัดแบ่งคำ)
91-
- `ipa` (สำหรับการรองรับ IPA หรือ International Phonetic Alphabet ในการถอดเสียงเป็นอักษร)
92-
- `ml` (เพื่อให้สนับสนุนตัวแบบภาษา ULMFiT สำหรับการจำแนกข้อความ)
93-
- `thai2fit` (สำหรับ Thai word vector)
94-
- `thai2rom` (สำหรับการถอดอักษรไทยเป็นอักษรโรมัน)
95-
- `wordnet` (สำหรับ Thai WordNet API)
85+
- `full` (ติดตั้งทุกอย่าง)
86+
- `attacut` (เพื่อสนับสนุน attacut ซึ่งเป็นตัวตัดคำที่ทำงานได้รวดเร็วและมีประสิทธิภาพ)
87+
- `benchmarks` (สำหรับ [word tokenization benchmarking](tokenization-benchmark.md))
88+
- `icu` (สำหรับการรองรับ ICU หรือ International Components for Unicode ในการถอดเสียงเป็นอักษรและการตัดแบ่งคำ)
89+
- `ipa` (สำหรับการรองรับ IPA หรือ International Phonetic Alphabet ในการถอดเสียงเป็นอักษร)
90+
- `ml` (เพื่อให้สนับสนุนตัวแบบภาษา ULMFiT สำหรับการจำแนกข้อความ)
91+
- `thai2fit` (สำหรับ Thai word vector)
92+
- `thai2rom` (สำหรับการถอดอักษรไทยเป็นอักษรโรมัน)
93+
- `wordnet` (สำหรับ Thai WordNet API)
9694
</details>
9795

9896
สำหรับโมดูลที่ต้องการ สามารถดูรายละเอียดได้ที่ตัวแปร `extras` ใน [`setup.py`](https://github.com/PyThaiNLP/pythainlp/blob/dev/setup.py).
9997

100-
10198
## Command-line
10299

103100
บางความสามารถของ PyThaiNLP สามารถใช้งานผ่าน command line ได้โดยใช้ `thainlp`
104101

105102
ตัวอย่าง, แสดงรายละเอียดของชุดข้อมูล:
103+
106104
```sh
107105
thainlp data catalog
108106
```
109107

110108
แสดงวิธีใช้งาน:
109+
111110
```sh
112111
thainlp help
113112
```
114113

115-
116114
## ผู้ใช้งาน Python 2
117115

118116
- PyThaiNLP 2 สนับสนุน Python 3.6 ขึ้นไป บางความสามารถ สามารถใช้งานกับ Python 3 รุ่นก่อนหน้าได้ แต่ไม่ได้มีการทดสอบว่าใช้งานได้หรือไม่ อ่านเพิ่มเติม [1.7 -> 2.0 change log](https://github.com/PyThaiNLP/pythainlp/issues/118).
119117
- [Upgrading from 1.7](https://pythainlp.github.io/docs/2.0/notes/pythainlp-1_7-2_0.html)
120118
- [Upgrade ThaiNER from 1.7](https://github.com/PyThaiNLP/pythainlp/wiki/Upgrade-ThaiNER-from-PyThaiNLP-1.7-to-PyThaiNLP-2.0)
121119
- ผู้ใช้งาน Python 2.7 สามารถใช้งาน PyThaiNLP 1.6
122120

123-
124121
## การอ้างอิง
125122

126123
หากคุณใช้ซอฟต์แวร์ `PyThaiNLP` ในโครงงานหรืองานวิจัยของคุณ คุณสามารถอ้างอิงได้ตามนี้
@@ -184,7 +181,6 @@ Wannaphong Phatthiyaphaibun, Korakot Chaovavanich, Charin Polpanumas, Arthit Sur
184181

185182
คุณสามารถอ่านได้ที่ [INTHEWILD.md](https://github.com/PyThaiNLP/pythainlp/blob/dev/INTHEWILD.md)
186183

187-
188184
## สัญญาอนุญาต
189185

190186
| | สัญญาอนุญาต |
@@ -194,12 +190,10 @@ Wannaphong Phatthiyaphaibun, Korakot Chaovavanich, Charin Polpanumas, Arthit Sur
194190
| Language models created by PyThaiNLP | [Creative Commons Attribution 4.0 International Public License (CC-by)](https://creativecommons.org/licenses/by/4.0/) |
195191
| สำหรับฐานข้อมูลภาษาและโมเดลอื่นที่อาจมาพร้อมกับซอฟต์แวร์ PyThaiNLP | ดู [Corpus License](https://github.com/PyThaiNLP/pythainlp/blob/dev/pythainlp/corpus/corpus_license.md) |
196192

197-
198193
## บัตรโมเดล
199194

200195
สำหรับรายละเอียดทางเทคนิค ข้อควรระวัง และข้อคำนึงทางจริยธรรมของตัวแบบ (โมเดล) ที่ใช้ใน PyThaiNLP กรุณาดูที่ [Model cards](https://github.com/PyThaiNLP/pythainlp/wiki/Model-Cards)
201196

202-
203197
## ผู้สนับสนุน
204198

205199
[![VISTEC-depa Thailand Artificial Intelligence Research Institute](https://airesearch.in.th/assets/img/logo/airesearch-logo.svg)](https://airesearch.in.th/)

docs/conf.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# -*- coding: utf-8 -*-
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
3+
# SPDX-License-Identifier: Apache-2.0
24
#
35
# Configuration file for the Sphinx documentation builder.
46
# http://www.sphinx-doc.org/en/master/config
@@ -21,8 +23,8 @@
2123
# -- Project information -----------------------------------------------------
2224

2325
project = "PyThaiNLP"
24-
copyright = "2019, pythainlp_builders"
25-
author = "pythainlp_builders"
26+
copyright = "2016-2024 PyThaiNLP Project"
27+
author = "PyThaiNLP Project"
2628

2729
curyear = datetime.today().year
2830
copyright = f"2017-{curyear}, {project} (Apache Software License 2.0)"

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
[tool.ruff]
25
line-length = 79
36
indent-width = 4

pythainlp/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
__version__ = "5.0.1"
55

pythainlp/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
import argparse
55
import sys

pythainlp/ancient/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
"""
55
Ancient versions of the Thai language

pythainlp/ancient/aksonhan.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
from pythainlp.util import Trie
55
from pythainlp import thai_consonants, thai_tonemarks

pythainlp/augment/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
"""
55
Thai text augment

pythainlp/augment/lm/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
"""
55
Language Models

pythainlp/augment/lm/fasttext.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
import itertools
55
from typing import List, Tuple

pythainlp/augment/lm/phayathaibert.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44

55
from typing import List

pythainlp/augment/lm/wangchanberta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44

55
from typing import List

pythainlp/augment/word2vec/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
"""
55
Word2Vec

pythainlp/augment/word2vec/bpemb_wv.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
from typing import List, Tuple
55
from pythainlp.augment.word2vec.core import Word2VecAug

pythainlp/augment/word2vec/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
from typing import List, Tuple
55
import itertools

pythainlp/augment/word2vec/ltw2v.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: Copyright 2016-2024 PyThaiNLP Project
2+
# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project
33
# SPDX-License-Identifier: Apache-2.0
44
from typing import List, Tuple
55
from pythainlp.augment.word2vec.core import Word2VecAug

0 commit comments

Comments
 (0)