iobjectspy.ml.geoparsing package

Module contents

class iobjectspy.ml.geoparsing.Inference

Bases: object

Prediction entry for related functions of geocoding tools

static ger_infer(input_data=None, addr_field=0, model_path='./model', out_name='result', out_data='/tmp/result.csv')

Inference entry for address elements recognition.

Parameters:
  • input_data (str or dataset) – input data
  • addr_field (str or int) – field name or field index value of the address
  • model_path (str) – model path
  • out_name (str) – output file name
  • out_data (str or datasource) – output file path or datasource
Returns:

None