Skip to content

Commit 0eb6216

Browse files
committed
Fixed docs
1 parent ba5b069 commit 0eb6216

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

docs/api/parse.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Example
2828
Here's a basic example of how to use the `dependency_parsing` function:
2929

3030
::
31+
3132
from pythainlp.parse import dependency_parsing
3233
3334
# Input Thai sentence

docs/api/phayathaibert.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.. currentmodule:: pythainlp.phayathaibert
2+
3+
pythainlp.phayathaibert
4+
=======================
5+
The `pythainlp.phayathaibert` module is built upon the phayathaibert base model.
6+
7+
Modules
8+
-------
9+
10+
.. autoclass:: ThaiTextProcessor
11+
:members:
12+
.. autoclass:: ThaiTextAugmenter
13+
:members:
14+
.. autoclass:: PartOfSpeechTagger
15+
:members:
16+
.. autoclass:: NamedEntityTagger
17+
:members:
18+
.. autofunction:: segment

pythainlp/morpheme/word_formation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def nighit(w1: str, w2: str) -> str:
1717
:param str w2: A Thai word.
1818
:return: Thai word.
1919
:rtype: str
20-
:Example:
21-
::
20+
:Example:::
21+
2222
from pythainlp.morpheme import nighit
2323
2424
assert nighit("สํ","คีต")=="สังคีต"

0 commit comments

Comments
 (0)