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 5.3 |[Change Log](https://github.com/PyThaiNLP/pythainlp/issues/1169)|
33
-
34
-
## Getting Started
35
-
36
-
- PyThaiNLP requires Python 3.9+.
37
-
- Python 2.7 users can use PyThaiNLP 1.6. See [2.0 change log](https://github.com/PyThaiNLP/pythainlp/issues/118) | [Upgrading from 1.7](https://pythainlp.org/docs/2.0/notes/pythainlp-1_7-2_0.html) | [Upgrading ThaiNER from 1.7](https://github.com/PyThaiNLP/pythainlp/wiki/Upgrade-ThaiNER-from-PyThaiNLP-1.7-to-PyThaiNLP-2.0)
38
-
-[PyThaiNLP Get Started notebook](https://pythainlp.org/tutorials/notebooks/pythainlp_get_started.html) | [API document](https://pythainlp.org/docs) | [Tutorials](https://pythainlp.org/tutorials)
-[Model cards](https://github.com/PyThaiNLP/pythainlp/wiki/Model-Cards) - for technical details, caveats, and ethical considerations of the models developed and used in PyThaiNLP
42
-
43
-
## Capabilities
44
-
45
-
PyThaiNLP provides standard linguistic analysis for Thai language and standard Thai locale utility functions.
46
-
Some of these functions are also available via the command-line interface (run `thainlp` in your shell).
47
-
48
-
Partial list of features:
32
+
| Version | Python version | Changes | Documentation |
- Convenient character and word classes, like Thai consonants (`pythainlp.thai_consonants`), vowels (`pythainlp.thai_vowels`), digits (`pythainlp.thai_digits`), and stop words (`pythainlp.corpus.thai_stopwords`) -- comparable to constants like `string.letters`, `string.digits`, and `string.punctuation`
51
-
- Linguistic unit segmentation at different levels: sentence (`sent_tokenize`), word (`word_tokenize`), and subword (`subword_tokenize`)
52
-
- Part-of-speech tagging (`pos_tag`)
53
-
- Spelling suggestion and correction (`spell` and `correct`)
54
-
- Phonetic algorithm and transliteration (`soundex` and `transliterate`)
55
-
- Collation (sorted by dictionary order) (`collate`)
56
-
- Number read out (`num_to_thaiword` and `bahttext`)
We test core functionalities on all officially supported Python versions.
149
91
150
-
Some functionality requiring extra dependencies may be tested less frequently
151
-
due to potential version conflicts or incompatibilities between packages.
152
-
153
-
Test cases are categorized into three groups: core, compact, and extra.
154
-
You can find these tests in the [tests/](/tests/) directory.
155
-
156
-
For more detailed information on testing, please refer to the tests README:
157
-
[tests/README.md](./tests/README.md)
92
+
See [tests/README.md](./tests/README.md) for test matrix and other details.
158
93
159
94
## Licenses
160
95
161
-
|| License |
162
-
| :-- | :-- |
96
+
|Content | License |
97
+
| :------| :------ |
163
98
| PyThaiNLP source codes and notebooks |[Apache Software License 2.0](https://github.com/PyThaiNLP/pythainlp/blob/dev/LICENSE)|
164
99
| Corpora, datasets, and documentations created by PyThaiNLP |[Creative Commons Zero 1.0 Universal Public Domain Dedication License (CC0)](https://creativecommons.org/publicdomain/zero/1.0/)|
165
100
| Language models created by PyThaiNLP |[Creative Commons Attribution 4.0 International Public License (CC-by)](https://creativecommons.org/licenses/by/4.0/)|
166
101
| Other corpora and models that may be included in PyThaiNLP | See [Corpus License](https://github.com/PyThaiNLP/pythainlp/blob/dev/pythainlp/corpus/corpus_license.md)|
167
102
168
103
## Contribute to PyThaiNLP
169
104
170
-
- Please fork and create a pull request :)
171
-
- For style guides and other information, including references to algorithms we use,
172
-
please refer to our [contributing](https://github.com/PyThaiNLP/pythainlp/blob/dev/CONTRIBUTING.md) page.
173
-
174
-
## Who uses PyThaiNLP?
175
-
176
-
You can read [INTHEWILD.md](https://github.com/PyThaiNLP/pythainlp/blob/dev/INTHEWILD.md).
105
+
Please fork and create a pull request.
106
+
See [CONTRIBUTING.md](https://github.com/PyThaiNLP/pythainlp/blob/dev/CONTRIBUTING.md)
0 commit comments