nlp = English()
doc = nlp(
    'A whole document.\nNo preprocessing require.   Robust to arbitrary formating.'
    )
for sent in doc:
    for token in sent:
        if token.is_alpha:
            pass
English grammar for parsing in NLTK