public interface PhraseElement
Phrase
must implement. Namely, a Phrase
is defined as a node in the parse
tree of a Sentence
, so its children can be either other
Phrase
s or LeafElement
s, both of which extend this interface.
This way, end classes implementing this interface should also implement
either of those two.