protected String pplxToPPL(String cityName){
  if (cityName != null) {
    Matcher matcher=pattern.matcher(cityName);
    if (matcher.find()) {
      return matcher.group(1);
    }
 else {
      return cityName;
    }
  }
 else {
    return cityName;
  }
}

protected String pplxToPPL ( String cityName ) { if ( cityName != null ) { Matcher matcher = pattern . matcher ( cityName ) ; if ( matcher . find ( ) ) { return matcher . group ( 1 ) ; } else { return cityName ; } } else { return cityName ; } }
tests if city is a paris district , if so it is probably a pplx that is newly considered as ppl http : / / forum . geonames . org / gforum / posts / list / 2063 . page
