mirror of
https://github.com/caperren/school_archives.git
synced 2025-11-09 13:41:13 +00:00
7 lines
201 B
Python
7 lines
201 B
Python
def kwic(document, listPairs=False, ignoreWords=None, periodsToBreaks=False):
|
|
if not document:
|
|
return []
|
|
|
|
split_into_sentences = document.splitlines()
|
|
|
|
return [split_into_sentences] |