add sentence splitting function to docAnalyzer