File tree 1 file changed +8
-6
lines changed
python/paddle/text/datasets
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -300,9 +300,10 @@ def get_dict(self):
300
300
301
301
.. code-block:: python
302
302
303
- from paddle.text.datasets import Conll05st
304
- conll05st = Conll05st()
305
- word_dict, predicate_dict, label_dict = conll05st.get_dict()
303
+ from paddle.text.datasets import Conll05st
304
+
305
+ conll05st = Conll05st()
306
+ word_dict, predicate_dict, label_dict = conll05st.get_dict()
306
307
"""
307
308
return self .word_dict , self .predicate_dict , self .label_dict
308
309
@@ -314,8 +315,9 @@ def get_embedding(self):
314
315
315
316
.. code-block:: python
316
317
317
- from paddle.text.datasets import Conll05st
318
- conll05st = Conll05st()
319
- emb_file = conll05st.get_embedding()
318
+ from paddle.text.datasets import Conll05st
319
+
320
+ conll05st = Conll05st()
321
+ emb_file = conll05st.get_embedding()
320
322
"""
321
323
return self .emb_file
You can’t perform that action at this time.
0 commit comments