classes for search NLTK constituency trees