protected function customLocationStem(array $locations) {
    $locexp = [];

    foreach ($locations as $k => $location) {
      $locexp[$k] = explode(' ', trim($location));
      if (count($locexp[$k]) == 1) {
        $locexp[$k] = explode('-', trim($location));
      }
      $initial = [];
      foreach ($locexp[$k] as $exp) {
        $initial[] = substr($exp, 0, 1);
      }
      if (count($initial) > 1) {
        $locexp[$k][] = implode('', $initial);
      }
      if (count($initial) > 2) {
        array_pop($initial);
        $locexp[$k][] = implode('', $initial);
      }
    }

    return $locexp;
  }