A list of sentences, where each sentence is separated by a period.
(self, string="", token=["word"])
| 21 | class Text(list): |
| 22 | |
| 23 | def __init__(self, string="", token=["word"]): |
| 24 | """ A list of sentences, where each sentence is separated by a period. |
| 25 | """ |
| 26 | list.__init__(self, (Sentence(s+".", token) for s in string.split("."))) |
| 27 | |
| 28 | @property |
| 29 | def sentences(self): |