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

Fix api docs (#38882)

* update readme test=document_fix

* update conll05 docs

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