We won't need this if we declare that taggedSegments must be wrapped in <seg></seg>.