Finding a tree structure that represents grammatical relationships between words or elements in a sequence.