Skip to content

Commit b6644f0

Browse files
committed
Revert "Merge pull request #682 from PyThaiNLP/add-live-dead-syllable-classify"
This reverts commit e93ab4b, reversing changes made to 8aaac9f.
1 parent e93ab4b commit b6644f0

File tree

12 files changed

+13
-169
lines changed

12 files changed

+13
-169
lines changed

.github/workflows/deploy_docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
jobs:
88
release:
99
name: Build
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v1
13-
- name: Set up Python 3.8
13+
- name: Set up Python 3.7
1414
uses: actions/setup-python@v1
1515
with:
16-
python-version: 3.8
16+
python-version: 3.7
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-20.04
2121
strategy:
2222
matrix:
23-
python-version: [3.8]
23+
python-version: [3.7]
2424

2525
steps:
2626
- uses: actions/checkout@v2

.github/workflows/macos-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [macos-latest]
23-
python-version: [3.8]
23+
python-version: [3.7]
2424

2525
steps:
2626
- uses: actions/checkout@v2

.github/workflows/pypi-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ on:
77
jobs:
88
deploy:
99

10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: [3.8]
13+
python-version: [3.7]
1414

1515
steps:
1616
- uses: actions/checkout@v2

.github/workflows/pypi-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ on:
77
jobs:
88
build:
99

10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: [3.8]
13+
python-version: [3.7]
1414

1515
steps:
1616
- uses: actions/checkout@v2

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ on:
1515
jobs:
1616
build:
1717

18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
python-version: [3.8]
21+
python-version: [3.7]
2222

2323
steps:
2424
- uses: actions/checkout@v2

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.8-slim-buster
1+
FROM python:3.7-slim-buster
22

33
COPY . .
44

docker_requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ pyicu==2.8
2424
deepcut==0.7.0.0
2525
h5py==3.1.0
2626
tensorflow==2.7.2
27-
pandas==1.4.*
27+
pandas==0.24
2828
tltk==1.3.8
2929
OSKut==1.3
3030
nlpo3==1.2.2
3131
thai-nner==0.3
32-
spacy==2.3.*

docs/api/util.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Modules
3232
.. autofunction:: remove_tonemark
3333
.. autofunction:: remove_zw
3434
.. autofunction:: reorder_vowels
35-
.. autofunction:: sound_syllable
3635
.. autofunction:: text_to_arabic_digit
3736
.. autofunction:: text_to_num
3837
.. autofunction:: text_to_thai_digit

pythainlp/util/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"time_to_thaiword",
4444
"text_to_num",
4545
"words_to_num",
46-
"sound_syllable",
4746
]
4847

4948
from pythainlp.util.collate import collate
@@ -90,4 +89,3 @@
9089
from pythainlp.util.time import thai_time, thaiword_to_time, time_to_thaiword
9190
from pythainlp.util.trie import Trie, dict_trie
9291
from pythainlp.util.wordtonum import thaiword_to_num, text_to_num, words_to_num
93-
from pythainlp.util.syllable import sound_syllable

0 commit comments

Comments
 (0)