Skip to content

Commit 7c4bd52

Browse files
authored
Merge pull request #472 from krissdap/dev
Fix typo in README.md
2 parents f98d18c + 0b2927f commit 7c4bd52

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
<div align="center">
32
<img src="https://avatars0.githubusercontent.com/u/32934255?s=200&v=4"/>
43
<h1>PyThaiNLP: Thai Natural Language Processing in Python</h1>
@@ -29,6 +28,7 @@ PyThaiNLP เป็นไลบารีภาษาไพทอนสำหร
2928

3029
Please follow our [PyThaiNLP Facebook page](https://www.facebook.com/pythainlp/) for more updates.
3130

31+
3232
## Getting Started with PyThaiNLP
3333

3434
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).
@@ -37,27 +37,29 @@ Latest document is available at [https://thainlp.org/pythainlp/docs/2.2/](https:
3737

3838
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).
3939

40+
4041
## Capabilities
4142

42-
PyThaiNLP provides standard NLP functions for Thai, for example part-of-speec tagging, linguistic unit segmentation (syllable, word, or sentence). Some of these functions are also available via command-line interface.
43+
PyThaiNLP provides standard NLP functions for Thai, for example part-of-speech tagging, linguistic unit segmentation (syllable, word, or sentence). Some of these functions are also available via command-line interface.
4344

4445
<details>
4546
<summary>List of Features</summary>
4647

4748
- 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`
4849
- Thai linguistic unit segmentation/tokenization, including sentence (`sent_tokenize`), word (`word_tokenize`), and subword segmentations based on Thai Character Cluster (`subword_tokenize`)
49-
- Thai part-of-speech taggers (`pos_tag`)
50+
- Thai part-of-speech tagging (`pos_tag`)
5051
- Thai spelling suggestion and correction (`spell` and `correct`)
5152
- Thai transliteration (`transliterate`)
5253
- Thai soundex (`soundex`) with three engines (`lk82`, `udom83`, `metasound`)
53-
- Thai collation (sort by dictionoary order) (`collate`)
54+
- Thai collation (sort by dictionary order) (`collate`)
5455
- Read out number to Thai words (`bahttext`, `num_to_thaiword`)
5556
- Thai datetime formatting (`thai_strftime`)
5657
- Thai-English keyboard misswitched fix (`eng_to_thai`, `thai_to_eng`)
5758
- Command-line interface for basic functions, like tokenization and pos tagging (run `thainlp` in your shell)
5859
</details>
5960

60-
Please see [our tutorials](https://www.thainlp.org/pythainlp/tutorials) on how to apply these functions to ML problems.
61+
Please see [our tutorials](https://www.thainlp.org/pythainlp/tutorials) on how to apply these functions to machine-learning problems.
62+
6163

6264
## Installation
6365

@@ -66,7 +68,7 @@ pip install --upgrade pythainlp
6668
```
6769

6870
This will install the latest stable release of PyThaiNLP.
69-
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/)
71+
PyThaiNLP uses pip as its package manager and PyPI as its main distribution channel, see [https://pypi.org/project/pythainlp/](https://pypi.org/project/pythainlp/)
7072

7173
Install different releases:
7274

@@ -99,9 +101,9 @@ pip install pythainlp[extra1,extra2,...]
99101
For dependency details, look at `extras` variable in [`setup.py`](https://github.com/PyThaiNLP/pythainlp/blob/dev/setup.py).
100102

101103

102-
## Command-line
104+
## Command-Line Interface
103105

104-
Some of PyThaiNLP functionalities can be used at command line, using `thainlp`
106+
Some of PyThaiNLP functionalities can be used at command line, using `thainlp` command.
105107

106108
For example, displaying a catalog of datasets:
107109
```sh
@@ -121,6 +123,7 @@ thainlp help
121123
- [Upgrade ThaiNER from 1.7](https://github.com/PyThaiNLP/pythainlp/wiki/Upgrade-ThaiNER-from-PyThaiNLP-1.7-to-PyThaiNLP-2.0)
122124
- Python 2.7 users can use PyThaiNLP 1.6
123125

126+
124127
## Citations
125128

126129
If you use `PyThaiNLP` in your project or publication, please cite the library as follows
@@ -148,6 +151,7 @@ or BibTeX entry:
148151
- Please do fork and create a pull request :)
149152
- For style guide and other information, including references to algorithms we use, please refer to our [contributing](https://github.com/PyThaiNLP/pythainlp/blob/dev/CONTRIBUTING.md) page.
150153

154+
151155
## Licenses
152156

153157
| | License |
@@ -157,6 +161,7 @@ or BibTeX entry:
157161
| Language models created by PyThaiNLP | [Creative Commons Attribution 4.0 International Public License (CC-by)](https://creativecommons.org/licenses/by/4.0/) |
158162
| Other corpora and models that may included with PyThaiNLP | See [Corpus License](https://github.com/PyThaiNLP/pythainlp/blob/dev/pythainlp/corpus/corpus_license.md) |
159163

164+
160165
## Sponsors
161166

162167
[![VISTEC-depa Thailand Artificial Intelligence Research Institute](https://airesearch.in.th/assets/img/logo/airesearch-logo.svg)](https://airesearch.in.th/)

0 commit comments

Comments
 (0)