Closed szeke closed 8 years ago
To make the code simpler and more reusable, the input should be of the following form. All the attributes will be present, but sometimes the value will be the empty string.
{ "uri": "xxx", "locality": "los Angeles", "region": "California", "country": "something" }
The output should be a json object, that contains an array of answers of the following form:
{ "uri": "the uri of this entry in the geonames dataset", "name": "Los Angeles, California, United States", "score": 0.8 }
To make the code simpler and more reusable, the input should be of the following form. All the attributes will be present, but sometimes the value will be the empty string.
The output should be a json object, that contains an array of answers of the following form: