Example #1
0
def phrase_palindrome(text):
    stripped_text = []
    for c in text:
        if c.isalpha():
            stripped_text.append(c.lower())
    stripped_text = ''.join(stripped_text)
    return is_palindrome(stripped_text)