(self, doc_id, text, ents=[])
| 158 | |
| 159 | class Document(object): |
| 160 | def __init__(self, doc_id, text, ents=[]): |
| 161 | self.doc_id = doc_id |
| 162 | self.text = text |
| 163 | self.ents = ents |
| 164 | self.sents = self.extract_sentences() |
| 165 | |
| 166 | def extract_sentences(self): |
| 167 | offset = 0 |
nothing calls this directly
no test coverage detected