ckipnlp.container.text module¶
This module provides containers for text sentences.
- class ckipnlp.container.text.TextParagraph(initlist=None)[source]¶
Bases:
BaseList0
A list of text sentence.
Data Structure Examples
- Text/List/Dict format
Used for
from_text()
,to_text()
,from_list()
,to_list()
,from_dict()
, andto_dict()
.[ '中文字耶,啊哈哈哈。', # Sentence 1 '「完蛋了!」畢卡索他想', # Sentence 2 ]
- item_class¶
alias of
str