(content, max_length)
| 175 | |
| 176 | @staticmethod |
| 177 | def trim_field(content, max_length): |
| 178 | if len(content) > max_length: |
| 179 | content = content[:max_length] |
| 180 | content += "......" |
| 181 | return content |
| 182 | |
| 183 | def process_line(self, data, tokenizer, tokenize): |
| 184 | raise NotImplementedError |
no outgoing calls
no test coverage detected