未验证 提交 572ba24e 编写于 作者: C Chen Long 提交者: GitHub

Fix api docs (#38882)

* update readme test=document_fix

* update conll05 docs

* update conll05 docs test=document_fix
上级 a250c56c
...@@ -301,6 +301,7 @@ class Conll05st(Dataset): ...@@ -301,6 +301,7 @@ class Conll05st(Dataset):
.. code-block:: python .. code-block:: python
from paddle.text.datasets import Conll05st from paddle.text.datasets import Conll05st
conll05st = Conll05st() conll05st = Conll05st()
word_dict, predicate_dict, label_dict = conll05st.get_dict() word_dict, predicate_dict, label_dict = conll05st.get_dict()
""" """
...@@ -315,6 +316,7 @@ class Conll05st(Dataset): ...@@ -315,6 +316,7 @@ class Conll05st(Dataset):
.. code-block:: python .. code-block:: python
from paddle.text.datasets import Conll05st from paddle.text.datasets import Conll05st
conll05st = Conll05st() conll05st = Conll05st()
emb_file = conll05st.get_embedding() emb_file = conll05st.get_embedding()
""" """
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册