Skip to content

Commit 00d68ea

Browse files
authored
Update setup.py
1 parent 8ea3e5e commit 00d68ea

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

setup.py

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
![PyThaiNLP Logo](https://avatars0.githubusercontent.com/u/32934255?s=200&v=4)
77
88
PyThaiNLP is a Python library for Thai natural language processing.
9-
It includes word tokenizers, transliterators, soundex converters, part-of-speech taggers, and spell checkers.
9+
The library provides functions like word tokenization, part-of-speech tagging,
10+
transliteration, soundex generation, and spell checking.
1011
1112
## Install
1213
@@ -16,9 +17,11 @@
1617
pip install pythainlp
1718
```
1819
19-
Some functionalities, like word vector, required extra packages. See https://github.com/PyThaiNLP/pythainlp for installation options.
20+
Some functionalities, like word vector, required extra packages.
21+
See https://github.com/PyThaiNLP/pythainlp for installation options.
2022
21-
**Note for Windows**: `marisa-trie` wheels can be obtained from https://www.lfd.uci.edu/~gohlke/pythonlibs/#marisa-trie
23+
**Note for Windows**: `marisa-trie` wheels can be obtained from
24+
https://www.lfd.uci.edu/~gohlke/pythonlibs/#marisa-trie
2225
Install it with pip, for example: `pip install marisa_trie‑xxx.whl`
2326
"""
2427

@@ -32,32 +35,32 @@
3235
]
3336

3437
extras = {
35-
"artagger": ["artagger"],
36-
"attacut": ["attacut"],
37-
"benchmarks": ["numpy", "pandas"],
38-
"deepcut": ["deepcut", "keras", "tensorflow"],
39-
"icu": ["pyicu"],
40-
"ipa": ["epitran"],
41-
"ml": ["keras", "numpy", "torch"],
42-
"ner": ["sklearn-crfsuite"],
43-
"ssg": ["ssg"],
44-
"thai2fit": ["emoji", "gensim", "numpy"],
45-
"thai2rom": ["torch", "numpy"],
38+
"artagger": ["artagger>=0.1.0.3"],
39+
"attacut": ["attacut>=1.0.2"],
40+
"benchmarks": ["numpy>=1.17.2", "pandas>=0.25.1"],
41+
"deepcut": ["deepcut>=0.6.1.0", "keras>=2.3.0", "tensorflow>=1.14.0"],
42+
"icu": ["pyicu>=2.3.1"],
43+
"ipa": ["epitran>=1.1"],
44+
"ml": ["keras>=2.3.0", "numpy>=1.17.2", "torch>=1.2.0"],
45+
"ner": ["sklearn-crfsuite>=0.3.6"],
46+
"ssg": ["ssg>=0.0.4"],
47+
"thai2fit": ["emoji>0.5.4", "gensim>=3.8.0", "numpy>=1.17.2"],
48+
"thai2rom": ["torch>=1.2.0", "numpy>=1.17.2"],
4649
"full": [
47-
"artagger",
48-
"attacut",
49-
"deepcut",
50-
"epitran",
51-
"gensim",
52-
"keras",
53-
"numpy",
54-
"pyicu",
55-
"sklearn-crfsuite",
56-
"tensorflow",
57-
"torch",
58-
"ssg",
59-
"emoji",
60-
"pandas",
50+
"artagger>=0.1.0.3",
51+
"attacut>=1.0.2",
52+
"deepcut>=0.6.1.0",
53+
"epitran>=1.1",
54+
"gensim>=3.8.0",
55+
"keras>=2.3.0",
56+
"numpy>=1.17.2",
57+
"pyicu>=2.3.1",
58+
"sklearn-crfsuite>=0.3.6",
59+
"tensorflow>=1.14.0",
60+
"torch>=1.2.0",
61+
"ssg>=0.0.4",
62+
"emoji>=0.5.4",
63+
"pandas>=0.25.1",
6164
],
6265
}
6366

0 commit comments

Comments
 (0)