You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev)| Release Candidate for 2.3 |[Change Log](https://github.com/PyThaiNLP/pythainlp/issues/445)|
30
32
31
-
Please follow our [PyThaiNLP](https://www.facebook.com/pythainlp/)fanpage for more and recent updates.
33
+
Please follow our [PyThaiNLP Facebook page](https://www.facebook.com/pythainlp/) for more updates.
32
34
33
35
## Getting Started with PyThaiNLP
34
36
35
37
We provide [PyThaiNLP Get Started Tutorial](https://www.thainlp.org/pythainlp/tutorials/notebooks/pythainlp_get_started.html) for exploring features in PyThaiNLP; We also have tutorials for specific tasks. Please visit [our tutorial page](https://www.thainlp.org/pythainlp/tutorials).
36
38
37
-
Latest document can be at [https://thainlp.org/pythainlp/docs/2.2/](https://thainlp.org/pythainlp/docs/2.2/).
39
+
Latest document is available at [https://thainlp.org/pythainlp/docs/2.2/](https://thainlp.org/pythainlp/docs/2.2/).
38
40
39
41
We try to make the package easy to use as much as possible; therefore, some additional data (like word lists and language models) may get automatically download during runtime. PyThaiNLP caches additional data under the directory `~/pythainlp-data` by default, but the user can change the value by specifying the environment variable `PYTHAINLP_DATA_DIR`. See corpus catalog at [PyThaiNLP/pythainlp-corpus](https://github.com/PyThaiNLP/pythainlp-corpus).
40
42
@@ -62,37 +64,31 @@ Please see [our tutorials](https://www.thainlp.org/pythainlp/tutorials) on how t
62
64
63
65
## Installation
64
66
65
-
PyThaiNLP uses PyPI as its main distribution channel, see [https://pypi.org/project/pythainlp/](https://pypi.org/project/pythainlp/)
66
-
67
-
### Stable Release
68
-
69
67
```sh
70
-
pip install pythainlp
68
+
pip install --upgrade pythainlp
71
69
```
72
70
73
-
### Development Pre-release
71
+
This will install the latest stable release of PyThaiNLP.
72
+
PyThaiNLP uses pip as its package manger and PyPI as its main distribution channel, see [https://pypi.org/project/pythainlp/](https://pypi.org/project/pythainlp/)
- Development (likely to break things): `pip install https://github.com/PyThaiNLP/pythainlp/archive/dev.zip`
84
79
85
80
### Installation Options
86
81
87
-
For some functionalities, like named-entity recognition, extra packages may be needed. Install them with these install options:
82
+
Some functionalities, like named-entity recognition, may require extra packages. To install those requirements, specify a set of `[name]` immediately after `pythainlp`:
88
83
89
84
```sh
90
85
pip install pythainlp[extra1,extra2,...]
91
86
```
92
87
93
88
<details>
94
-
<summary>where `extras` can be</summary>
95
-
89
+
<summary>List of possible `extras`</summary>
90
+
91
+
-`full` (install everything)
96
92
-`attacut` (to support attacut, a fast and accurate tokenizer)
For dependency details, look at `extras` variable in [`setup.py`](https://github.com/PyThaiNLP/pythainlp/blob/dev/setup.py).
@@ -161,8 +156,8 @@ or BibTeX entry:
161
156
|| License |
162
157
|:---|:----|
163
158
| PyThaiNLP Source Code and Notebooks |[Apache Software License 2.0](https://github.com/PyThaiNLP/pythainlp/blob/dev/LICENSE)|
164
-
|All corpora, datasets, and documentations created by PyThaiNLP |[Creative Commons Zero 1.0 Universal Public Domain Dedication Licensei (CC0)](https://creativecommons.org/publicdomain/zero/1.0/)|
165
-
|All language models created by PyThaiNLP |[Creative Commons Attribution 4.0 International Public License (CC-by)](https://creativecommons.org/licenses/by/4.0/)|
159
+
|Corpora, datasets, and documentations created by PyThaiNLP |[Creative Commons Zero 1.0 Universal Public Domain Dedication Licensei (CC0)](https://creativecommons.org/publicdomain/zero/1.0/)|
160
+
|Language models created by PyThaiNLP |[Creative Commons Attribution 4.0 International Public License (CC-by)](https://creativecommons.org/licenses/by/4.0/)|
166
161
| Other corpora and models that may included with PyThaiNLP | See [Corpus License](https://github.com/PyThaiNLP/pythainlp/blob/dev/pythainlp/corpus/corpus_license.md)|
167
162
168
163
## Sponsors
@@ -175,4 +170,4 @@ Since 2019, our contributors Korakot Chaovavanich and Lalita Lowphansirikul have
175
170
176
171
<divalign="center">
177
172
Made with ❤️ | PyThaiNLP Team 💻 | "We build Thai NLP" 🇹🇭
0 commit comments