diff --git a/python/paddle/text/datasets/conll05.py b/python/paddle/text/datasets/conll05.py index 7dd29637706f321df324bda429b930289ded760e..88ae5e3d8c6e951a3426879c972b07ef02cfc23e 100644 --- a/python/paddle/text/datasets/conll05.py +++ b/python/paddle/text/datasets/conll05.py @@ -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