Skip to content

Commit 132bd82

Browse files
authored
Merge pull request #487 from PyThaiNLP/fix-provinces
Fix: Not found thailand_provinces_th.csv #486
2 parents 329812e + 9575751 commit 132bd82

File tree

2 files changed

+4
-20
lines changed

2 files changed

+4
-20
lines changed

.github/workflows/pythainlp-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
run: |
2424
python -m pip install --upgrade pip pytest wheel flake8
2525
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26+
pip install tensorflow==2.1.0
2627
pip install torch==1.5.0 torchvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html
2728
pip install .[full]
2829
pip install deepcut coverage coveralls

setup.py

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -82,28 +82,11 @@
8282
test_suite="tests",
8383
python_requires=">=3.6",
8484
package_data={
85-
"pythainlp.corpus": [
86-
"corpus_license.md",
87-
"countries_th.txt",
88-
"etcc.txt",
89-
"negations_th.txt",
90-
"person_names_female_th.txt",
91-
"person_names_male_th.txt",
92-
"pos_orchid_perceptron.pkl",
93-
"pos_orchid_unigram.json",
94-
"pos_ud_perceptron.pkl",
95-
"pos_ud_unigram.json",
96-
"sentenceseg_crfcut.model",
97-
"stopwords_th.txt",
98-
"syllables_th.txt",
99-
"thailand_provinces_th.txt",
100-
"tnc_freq.txt",
101-
"ttc_freq.txt",
102-
"wordnet_th.db",
103-
"words_th.txt",
104-
"words_th_thai2fit_201810.txt",
85+
"pythainlp": [
86+
"corpus/*",
10587
],
10688
},
89+
include_package_data=True,
10790
install_requires=requirements,
10891
extras_require=extras,
10992
license="Apache Software License 2.0",

0 commit comments

Comments
 (0)