#!/usr/bin/env python # -*- coding: utf_8 -*- def splitParagraphIntoSentences(paragraph): \'\'\' break a paragraph into sentences and return a list \'\'\'
p = "While other species..."
should be changed to
p = u"While other species..."
Notice the u in front of the quote.
u
What you need is a so-called Unicode literals. In Python 2, string literals is not Unicode by default.