original_docstring: 
      Fetch probable coordinates from openstreetmap or openaddresses.io data using
      the search term.
  
      If the postal service is running and configured the search_term will be
      pre-parsed by using that service.
  
      The results will be sorted by distance to center coordinate, if there is no center
      coordinate the results will be sorted by trigram similarity.
  
      This is a generator that returns an iterator of dict instances with the following
      keys: house, road, house_number, postcode, city, country, location, trgm_dist, dist
  
      Not all keys have to be filled at all times.
  
      :param geocoder: geocoder instance
      :param search_term: user input
      :param center: center coordinate used for distance sorting
      :param country: if set the query will be limited to this country
      :param radius: max search radius around the center coordinate
      :param limit: maximum number of results to return
      
docstring: Fetch probable coordinates from openstreetmap or openaddresses.io data using
  the search term.
  
  If the postal service is running and configured the search_term will be
  pre-parsed by using that service.
  
  The results will be sorted by distance to center coordinate, if there is no center
  coordinate the results will be sorted by trigram similarity.
  
  This is a generator that returns an iterator of dict instances with the following
  keys: house, road, house_number, postcode, city, country, location, trgm_dist, dist
  
  Not all keys have to be filled at all times.
docstring_tokens: Fetch probable coordinates from openstreetmap or openaddresses . io data using the search term . If the postal service is running and configured the search_term will be pre - parsed by using that service . The results will be sorted by distance to center coordinate if there is no center coordinate the results will be sorted by trigram similarity . This is a generator that returns an iterator of dict instances with the following keys : house road house_number postcode city country location trgm_dist dist Not all keys have to be filled at all times .
code: def fetch_coordinate(geocoder, search_term, center=None, country=None, radius=20000, limit=20):
      """
      Fetch probable coordinates from openstreetmap or openaddresses.io data using
      the search term.
  
      If the postal service is running and configured the search_term will be
      pre-parsed by using that service.
  
      The results will be sorted by distance to center coordinate, if there is no center
      coordinate the results will be sorted by trigram similarity.
  
      This is a generator that returns an iterator of dict instances with the following
      keys: house, road, house_number, postcode, city, country, location, trgm_dist, dist
  
      Not all keys have to be filled at all times.
  
      :param geocoder: geocoder instance
      :param search_term: user input
      :param center: center coordinate used for distance sorting
      :param country: if set the query will be limited to this country
      :param radius: max search radius around the center coordinate
      :param limit: maximum number of results to return
      """
  
      if geocoder.postal_service is not None:
          try:
              response = post(geocoder.postal_service['service_url'] + '/split', json={"query": search_term})
              if response.status_code == 200:
                  parsed_address = response.json()[0]
              else:
                  parsed_address = { 'road': search_term }
          except ConnectionError:
              parsed_address = { 'road': search_term }
  
      for result in fetch_coordinate_struct(
              geocoder,
              road=parsed_address.get('road', parsed_address.get('house', None)),
              house_number=parsed_address.get('house_number', None),
              postcode=parsed_address.get('postcode', None),
              city=parsed_address.get('city', None),
              country=country,
              center=center,
              radius=radius,
              limit=limit
          ):
          yield result
code_tokens: def fetch_coordinate ( geocoder , search_term , center = None , country = None , radius = 20000 , limit = 20 ) : if geocoder . postal_service is not None : try : response = post ( geocoder . postal_service [ 'service_url' ] + '/split' , json = { "query" : search_term } ) if response . status_code == 200 : parsed_address = response . json ( ) [ 0 ] else : parsed_address = { 'road' : search_term } except ConnectionError : parsed_address = { 'road' : search_term } for result in fetch_coordinate_struct ( geocoder , road = parsed_address . get ( 'road' , parsed_address . get ( 'house' , None ) ) , house_number = parsed_address . get ( 'house_number' , None ) , postcode = parsed_address . get ( 'postcode' , None ) , city = parsed_address . get ( 'city' , None ) , country = country , center = center , radius = radius , limit = limit ) : yield result
short_docstring: Fetch probable coordinates from openstreetmap or openaddresses.io data using
  the search term.
short_docstring_tokens: Fetch probable coordinates from openstreetmap or openaddresses . io data using the search term .
comment: """
      Fetch probable coordinates from openstreetmap or openaddresses.io data using
      the search term.
  
      If the postal service is running and configured the search_term will be
      pre-parsed by using that service.
  
      The results will be sorted by distance to center coordinate, if there is no center
      coordinate the results will be sorted by trigram similarity.
  
      This is a generator that returns an iterator of dict instances with the following
      keys: house, road, house_number, postcode, city, country, location, trgm_dist, dist
  
      Not all keys have to be filled at all times.
  
      :param geocoder: geocoder instance
      :param search_term: user input
      :param center: center coordinate used for distance sorting
      :param country: if set the query will be limited to this country
      :param radius: max search radius around the center coordinate
      :param limit: maximum number of results to return
      """