Skip to content

Commit

Permalink
Fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wannaphong committed Feb 5, 2024
1 parent ba5b069 commit 0eb6216
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/api/parse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Example
Here's a basic example of how to use the `dependency_parsing` function:

::

from pythainlp.parse import dependency_parsing
# Input Thai sentence
Expand Down
18 changes: 18 additions & 0 deletions docs/api/phayathaibert.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.. currentmodule:: pythainlp.phayathaibert

pythainlp.phayathaibert
=======================
The `pythainlp.phayathaibert` module is built upon the phayathaibert base model.

Modules
-------

.. autoclass:: ThaiTextProcessor
:members:
.. autoclass:: ThaiTextAugmenter
:members:
.. autoclass:: PartOfSpeechTagger
:members:
.. autoclass:: NamedEntityTagger
:members:
.. autofunction:: segment
4 changes: 2 additions & 2 deletions pythainlp/morpheme/word_formation.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def nighit(w1: str, w2: str) -> str:
:param str w2: A Thai word.
:return: Thai word.
:rtype: str
:Example:
::
:Example:::
from pythainlp.morpheme import nighit
assert nighit("สํ","คีต")=="สังคีต"
Expand Down

0 comments on commit 0eb6216

Please sign in to comment.