introducing the TermJoiner class for implementing operations creating a term sequence