added toy implementation for multi-word term replacement