function normalizeSegmentLabel (label) {
  if (!label) return ''

  label = label.trim()