Skip to content

Commit baa645f

Browse files
committed
Merge branch 'dev' of https://github.com/HRNPH/pythainlp into dev
2 parents 4a327a8 + 462a83e commit baa645f

File tree

148 files changed

+1987
-72
lines changed

Some content is hidden

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

148 files changed

+1987
-72
lines changed

.github/workflows/macos-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
conda install -c conda-forge icu
7575
conda install -c conda-forge pyicu
7676
if [ -f docker_requirements.txt ]; then pip install -r docker_requirements.txt; fi
77-
pip install deepcut
77+
pip install deepcut tltk
7878
pip install .[full]
7979
python -m nltk.downloader omw-1.4
8080
if: matrix.os != 'self-hosted'

.github/workflows/pypi-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install deepcut
24+
pip install deepcut tltk
2525
pip install -r https://raw.githubusercontent.com/PyThaiNLP/pythainlp/dev/docker_requirements.txt
2626
pip install pythainlp[full]
2727
python -m nltk.downloader omw-1.4

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
python -m pip install --upgrade pip
3232
pip install pytest coverage coveralls
3333
if [ -f docker_requirements.txt ]; then pip install -r docker_requirements.txt; fi
34-
pip install deepcut
34+
pip install deepcut tltk
3535
pip install .[full]
3636
python -m nltk.downloader omw-1.4
3737
- name: Test

.github/workflows/windows-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,15 @@ jobs:
4343
shell: powershell
4444
run: |
4545
python -m pip install --disable-pip-version-check --user --upgrade pip setuptools
46+
python -m pip install backports.zoneinfo[tzdata]
4647
python -m pip --version
4748
python -m pip install pytest coverage coveralls
4849
conda install -y -c conda-forge fairseq
4950
python -m pip install https://www.dropbox.com/s/o6p2sj5z50iim1e/PyICU-2.3.1-cp38-cp38-win_amd64.whl?dl=1
5051
python -m pip install -r docker_requirements.txt
5152
python -m pip install .[full]
5253
python -m nltk.downloader omw-1.4
53-
python -m pip install spacy deepcut
54+
python -m pip install spacy deepcut tltk
5455
- name: Test
5556
shell: powershell
5657
env:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ PyThaiNLP เป็นไลบารีภาษาไพทอนสำหร
2323
2424
| Version | Description | Status |
2525
|:------:|:--:|:------:|
26-
| [3.1](https://github.com/PyThaiNLP/pythainlp/releases) | Stable | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/643) |
27-
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | Release Candidate for 4.0 | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/714) |
26+
| [4.0](https://github.com/PyThaiNLP/pythainlp/releases) | Stable | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/714) |
27+
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | Release Candidate for 4.1 | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/788) |
2828

2929

3030
## Getting Started

README_TH.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ PyThaiNLP เป็นไลบารีภาษาไพทอนสำหร
2020
2121
| รุ่น | คำอธิบาย | สถานะ |
2222
|:------:|:--:|:------:|
23-
| [3.1](https://github.com/PyThaiNLP/pythainlp/releases) | Stable | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/643) |
24-
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | Release Candidate for 4.0 | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/714) |
23+
| [4.0](https://github.com/PyThaiNLP/pythainlp/releases) | Stable | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/714) |
24+
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | Release Candidate for 4.1 | [Change Log](https://github.com/PyThaiNLP/pythainlp/issues/788) |
2525

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

SECURITY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
| Version | Supported |
66
| ------- | ------------------ |
7+
| 4.0.x | :white_check_mark: |
78
| 3.1.x | :white_check_mark: |
89
| 3.0.x | :x: |
910
| 2.3.x | :x: |

docs/api/wangchanberta.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Notebook:
3030

3131
Modules
3232
-------
33+
.. autoclass:: NamedEntityRecognition
34+
:members:
35+
.. autoclass:: ThaiNameTagger
36+
:members:
3337
.. autofunction:: segment
3438

3539
References

docs/notes/installation.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ where ``extras`` can be
2828
- ``wordnet`` (to support wordnet)
2929
- ``spell`` (to support phunspell & symspellpy)
3030
- ``generate`` (to support text generate with umlfit or thai2fit)
31-
- ``tltk`` (to support tltk)
3231
- ``textaugment`` (to support text augmentation)
3332
- ``oskut`` (to support OSKUT)
3433
- ``nlpo3`` (to support nlpo3 engine)

docs/notes/license.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ License
88

99
**PyThaiNLP License**
1010

11-
Copyright 2016 - 2022 PyThaiNLP
11+
Copyright 2016 - 2023 PyThaiNLP
1212

1313
Licensed under the Apache License, Version 2.0 (the "License");
1414
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)