(docstring)
| 31 | |
| 32 | |
| 33 | def split_sentences(docstring): |
| 34 | # sentences = re.split("(?<![\.])\.(?![\.\w])", docstring) |
| 35 | |
| 36 | sentences = re.split("(?<=.)[\.\!\?](?=\s+)", docstring) |
| 37 | sentences = [sentence.strip() for sentence in sentences if sentence.strip() != ""] |
| 38 | |
| 39 | return sentences |
| 40 | |
| 41 | |
| 42 | def split_identifier_into_parts(identifier: str) -> List[str]: |
no outgoing calls
no test coverage detected