Skip to content

Commit

Permalink
Change pythainlp.github.io to pythainlp.org
Browse files Browse the repository at this point in the history
  • Loading branch information
wannaphong committed Jul 19, 2024
1 parent 43f5cc5 commit 7c773d9
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ automatically from "docstring" comments in source codes. This means the comment
section in the source codes is important for the quality of documentation.
- A docstring should start with one summary line, end with one line with a full stop (period),
then be followed by a blank line before starting a new paragraph.
- A commit to release branches (e.g. `2.2`, `2.1`) with a title **"(build and deploy docs)"** (without quotes) will trigger the system to rebuild the documentation files and upload them to the website https://pythainlp.github.io/docs.
- A commit to release branches (e.g. `2.2`, `2.1`) with a title **"(build and deploy docs)"** (without quotes) will trigger the system to rebuild the documentation files and upload them to the website https://pythainlp.org/docs.


## Testing
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ PyThaiNLP เป็นไลบารีภาษาไพทอนสำหร

## Getting Started

- PyThaiNLP 2 requires Python 3.7+. 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.github.io/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)
- [PyThaiNLP Get Started notebook](https://pythainlp.github.io/tutorials/notebooks/pythainlp_get_started.html) | [API document](https://pythainlp.github.io/docs) | [Tutorials](https://pythainlp.github.io/tutorials)
- [Official website](https://pythainlp.github.io/) | [PyPI](https://pypi.org/project/pythainlp/) | [Facebook page](https://www.facebook.com/pythainlp/)
- PyThaiNLP 2 requires Python 3.7+. 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)
- [PyThaiNLP Get Started notebook](https://pythainlp.org/tutorials/notebooks/pythainlp_get_started.html) | [API document](https://pythainlp.org/docs) | [Tutorials](https://pythainlp.org/tutorials)
- [Official website](https://pythainlp.org/) | [PyPI](https://pypi.org/project/pythainlp/) | [Facebook page](https://www.facebook.com/pythainlp/)
- [Who uses PyThaiNLP?](https://github.com/PyThaiNLP/pythainlp/blob/dev/INTHEWILD.md)
- [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

Expand Down
8 changes: 4 additions & 4 deletions README_TH.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ PyThaiNLP เป็นไลบารีภาษาไพทอนสำหร

## เริ่มต้นกับ PyThaiNLP

พวกเราได้จัดทำ [PyThaiNLP Get Started Tutorial](https://pythainlp.github.io/tutorials/notebooks/pythainlp_get_started.html) สำหรับสำรวจความสามารถของ PyThaiNLP; พวกเรามีเอกสารสอนใช้งาน สามารถศึกษาได้ที่ [หน้า tutorial](https://pythainlp.github.io/tutorials).
พวกเราได้จัดทำ [PyThaiNLP Get Started Tutorial](https://pythainlp.org/tutorials/notebooks/pythainlp_get_started.html) สำหรับสำรวจความสามารถของ PyThaiNLP; พวกเรามีเอกสารสอนใช้งาน สามารถศึกษาได้ที่ [หน้า tutorial](https://pythainlp.org/tutorials).

อ่านเอกสารล่าสุดได้ที่ [https://pythainlp.github.io/docs](https://pythainlp.github.io/docs).
อ่านเอกสารล่าสุดได้ที่ [https://pythainlp.org/docs](https://pythainlp.org/docs).

พวกเราพยายามทำให้โมดูลใช้งานได้ง่ายที่สุดเท่าที่จะเป็นไปได้; ตัวอย่างเช่น บางชุดข้อมูล (เช่น รายการคำและตัวแบบภาษา) จะถูกดาวน์โหลดอัตโนมัติเมื่อมีการเรียกใช้งาน โดย PyThaiNLP จะจัดเก็บข้อมูลเหล่านั้นไว้ในโฟลเดอร์ `~/pythainlp-data` เป็นค่าเริ่มต้น แต่ผู้ใช้งานสามารถระบุตำแหน่งที่ต้องการได้เองผ่านค่า environment variable `PYTHAINLP_DATA_DIR` อ่านรายละเอียดคลังข้อมูลเพิ่มเติมได้ที่ [PyThaiNLP/pythainlp-corpus](https://github.com/PyThaiNLP/pythainlp-corpus).

Expand All @@ -53,7 +53,7 @@ PyThaiNLP มีความสามารถพื้นฐานสำหร
- Command-line interface for basic functions, like tokenization and pos tagging (run `thainlp` in your shell)
</details>

อ่านรายละเอียดได้ที่ [tutorials](https://pythainlp.github.io/tutorials)
อ่านรายละเอียดได้ที่ [tutorials](https://pythainlp.org/tutorials)


## การติดตั้ง
Expand Down Expand Up @@ -114,7 +114,7 @@ thainlp help
## ผู้ใช้งาน Python 2

- PyThaiNLP 2 สนับสนุน Python 3.6 ขึ้นไป บางความสามารถ สามารถใช้งานกับ Python 3 รุ่นก่อนหน้าได้ แต่ไม่ได้มีการทดสอบว่าใช้งานได้หรือไม่ อ่านเพิ่มเติม [1.7 -> 2.0 change log](https://github.com/PyThaiNLP/pythainlp/issues/118).
- [Upgrading from 1.7](https://pythainlp.github.io/docs/2.0/notes/pythainlp-1_7-2_0.html)
- [Upgrading from 1.7](https://pythainlp.org/docs/2.0/notes/pythainlp-1_7-2_0.html)
- [Upgrade ThaiNER from 1.7](https://github.com/PyThaiNLP/pythainlp/wiki/Upgrade-ThaiNER-from-PyThaiNLP-1.7-to-PyThaiNLP-2.0)
- ผู้ใช้งาน Python 2.7 สามารถใช้งาน PyThaiNLP 1.6

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PyThaiNLP documentation

PyThaiNLP is a Python library for Thai natural language processing (NLP).

Website: `PyThaiNLP.github.io <https://pythainlp.github.io/>`_
Website: `PyThaiNLP.github.io <https://pythainlp.org/>`_


.. toctree::
Expand Down
2 changes: 1 addition & 1 deletion docs/notes/FAQ.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FAQ

*Frequently Asked Questions about PyThaiNLP*

You can read the FAQ at `FAQ | PyThaiNLP GitHub <https://pythainlp.github.io/FAQ>`_
You can read the FAQ at `FAQ | PyThaiNLP GitHub <https://pythainlp.org/FAQ>`_
4 changes: 2 additions & 2 deletions docs/notes/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ Thai has historically faced a lot of NLP challenges. A quick list of them includ

Tutorial Notebooks
==================
- `PyThaiNLP Get Started <https://pythainlp.github.io/tutorials/notebooks/pythainlp-get-started.html>`_
- `Other tutorials <https://pythainlp.github.io/tutorials/>`_
- `PyThaiNLP Get Started <https://pythainlp.org/tutorials/notebooks/pythainlp-get-started.html>`_
- `Other tutorials <https://pythainlp.org/tutorials/>`_
2 changes: 1 addition & 1 deletion pythainlp/corpus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
_CHECK_MODE = os.getenv("PYTHAINLP_READ_MODE")

# URL of remote corpus catalog
_CORPUS_DB_URL = "https://pythainlp.github.io/pythainlp-corpus/db.json"
_CORPUS_DB_URL = "https://pythainlp.org/pythainlp-corpus/db.json"

# filename of local corpus catalog
_CORPUS_DB_FILENAME = "db.json"
Expand Down
6 changes: 3 additions & 3 deletions pythainlp/corpus/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def thai_dict() -> dict:
"""
Return Thai dictionary with definition from wiktionary.
\n(See: `thai_dict\
<https://pythainlp.github.io/pythainlp-corpus/thai_dict.html>`_)
<https://pythainlp.org/pythainlp-corpus/thai_dict.html>`_)
:return: Thai words with part-of-speech type and definition
:rtype: dict
Expand All @@ -287,7 +287,7 @@ def thai_wsd_dict() -> dict:
"""
Return Thai Word Sense Disambiguation dictionary with definition from wiktionary.
\n(See: `thai_dict\
<https://pythainlp.github.io/pythainlp-corpus/thai_dict.html>`_)
<https://pythainlp.org/pythainlp-corpus/thai_dict.html>`_)
:return: Thai words with part-of-speech type and definition
:rtype: dict
Expand All @@ -313,7 +313,7 @@ def thai_synonyms() -> dict:
"""
Return Thai synonyms.
\n(See: `thai_synonym\
<https://pythainlp.github.io/pythainlp-corpus/thai_synonym.html>`_)
<https://pythainlp.org/pythainlp-corpus/thai_synonym.html>`_)
:return: Thai words with part-of-speech type and synonym
:rtype: dict
Expand Down
4 changes: 2 additions & 2 deletions pythainlp/corpus/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def get_corpus_path(
(Please see the filename in
`this file
<https://pythainlp.github.io/pythainlp-corpus/db.json>`_
<https://pythainlp.org/pythainlp-corpus/db.json>`_
If the corpus already exists::
Expand Down Expand Up @@ -407,7 +407,7 @@ def download(
Download corpus.
The available corpus names can be seen in this file:
https://pythainlp.github.io/pythainlp-corpus/db.json
https://pythainlp.org/pythainlp-corpus/db.json
:param str name: corpus name
:param bool force: force downloading
Expand Down
2 changes: 1 addition & 1 deletion pythainlp/wsd/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_sense(
<https://arxiv.org/abs/2305.03520>`_ to build get_sense function.
Use Thai dictionary from wiktionary.
See `thai_dict <https://pythainlp.github.io/pythainlp-corpus/thai_dict.html>`_.
See `thai_dict <https://pythainlp.org/pythainlp-corpus/thai_dict.html>`_.
Use sentence transformers model from \
`sentence-transformers/paraphrase-multilingual-mpnet-base-v2 \
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
transliteration, soundex generation, spell checking, and
date and time parsing/formatting.
Website: [pythainlp.github.io](https://pythainlp.github.io/)
Website: [pythainlp.github.io](https://pythainlp.org/)
# Install
Expand Down Expand Up @@ -210,8 +210,8 @@
],
},
project_urls={
"Documentation": "https://pythainlp.github.io/docs/5.0/",
"Tutorials": "https://pythainlp.github.io/tutorials/",
"Documentation": "https://pythainlp.org/docs/5.0/",
"Tutorials": "https://pythainlp.org/tutorials/",
"Source Code": "https://github.com/PyThaiNLP/pythainlp",
"Bug Tracker": "https://github.com/PyThaiNLP/pythainlp/issues",
},
Expand Down
20 changes: 10 additions & 10 deletions tokenization-benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ as well as a module interface for later use in their development pipelines.
| PyThaiNLP-newmm | dictionary-based | [![](https://img.shields.io/badge/BEST:val-WL:f1(0.6836)-yellow.svg)][res-BEST-val-PyThaiNLP-newmm] [![](https://img.shields.io/badge/THNC-WL:f1(0.7338)-yellow.svg)][res-THNC-PyThaiNLP-newmm] [![](https://img.shields.io/badge/Orchid-WL:f1(0.7223)-yellow.svg)][res-Orchid-PyThaiNLP-newmm] [![](https://img.shields.io/badge/WiseSight160-WL:f1(0.7248)-yellow.svg)][res-WiseSight160-PyThaiNLP-newmm] |
| Sertis-BiGRU | Bi-directional RNN | [![](https://img.shields.io/badge/BEST:val-WL:f1(0.9251)-yellow.svg)][res-BEST-val-Sertis-BiGRU] [![](https://img.shields.io/badge/WiseSight160-WL:f1(0.8115)-yellow.svg)][res-WiseSight160-Sertis-BiGRU] |

[res-BEST-val-DeepCut]: https://pythainlp.github.io/tokenization-benchmark-visualization/?experiment-name=BEST-val-DeepCut
[res-THNC-DeepCut]: https://pythainlp.github.io/tokenization-benchmark-visualization/?experiment-name=THNC-DeepCut
[res-Orchid-DeepCut]: https://pythainlp.github.io/tokenization-benchmark-visualization/?experiment-name=Orchid-DeepCut
[res-WiseSight160-DeepCut]: https://pythainlp.github.io/tokenization-benchmark-visualization/?experiment-name=WiseSight160-DeepCut
[res-BEST-val-PyThaiNLP-newmm]: https://pythainlp.github.io/tokenization-benchmark-visualization/?experiment-name=BEST-val-PyThaiNLP-newmm
[res-THNC-PyThaiNLP-newmm]: https://pythainlp.github.io/tokenization-benchmark-visualization/?experiment-name=THNC-PyThaiNLP-newmm
[res-Orchid-PyThaiNLP-newmm]: https://pythainlp.github.io/tokenization-benchmark-visualization/?experiment-name=Orchid-PyThaiNLP-newmm
[res-WiseSight160-PyThaiNLP-newmm]: https://pythainlp.github.io/tokenization-benchmark-visualization/?experiment-name=WiseSight160-PyThaiNLP-newmm
[res-BEST-val-Sertis-BiGRU]: https://pythainlp.github.io/tokenization-benchmark-visualization/?experiment-name=BEST-val-Sertis-BiGRU
[res-WiseSight160-Sertis-BiGRU]: https://pythainlp.github.io/tokenization-benchmark-visualization/?experiment-name=WiseSight160-Sertis-BiGRU
[res-BEST-val-DeepCut]: https://pythainlp.org/tokenization-benchmark-visualization/?experiment-name=BEST-val-DeepCut
[res-THNC-DeepCut]: https://pythainlp.org/tokenization-benchmark-visualization/?experiment-name=THNC-DeepCut
[res-Orchid-DeepCut]: https://pythainlp.org/tokenization-benchmark-visualization/?experiment-name=Orchid-DeepCut
[res-WiseSight160-DeepCut]: https://pythainlp.org/tokenization-benchmark-visualization/?experiment-name=WiseSight160-DeepCut
[res-BEST-val-PyThaiNLP-newmm]: https://pythainlp.org/tokenization-benchmark-visualization/?experiment-name=BEST-val-PyThaiNLP-newmm
[res-THNC-PyThaiNLP-newmm]: https://pythainlp.org/tokenization-benchmark-visualization/?experiment-name=THNC-PyThaiNLP-newmm
[res-Orchid-PyThaiNLP-newmm]: https://pythainlp.org/tokenization-benchmark-visualization/?experiment-name=Orchid-PyThaiNLP-newmm
[res-WiseSight160-PyThaiNLP-newmm]: https://pythainlp.org/tokenization-benchmark-visualization/?experiment-name=WiseSight160-PyThaiNLP-newmm
[res-BEST-val-Sertis-BiGRU]: https://pythainlp.org/tokenization-benchmark-visualization/?experiment-name=BEST-val-Sertis-BiGRU
[res-WiseSight160-Sertis-BiGRU]: https://pythainlp.org/tokenization-benchmark-visualization/?experiment-name=WiseSight160-Sertis-BiGRU


## Installation (WIP)
Expand Down

0 comments on commit 7c773d9

Please sign in to comment.