9a1a56036a7e5eed0b29d9ea44371f8c629feebf,mordecai/geoparse.py,Geoparser,query_geonames_country,#Geoparser#,339
Before Change
"fuzziness" : 1,
"operator": "and"},
}
r = Q("match", country_code3=country)
res = self.conn.query(q).query(r)[0:50].execute()
out = utilities.structure_results(res)
return out
def _feature_location_type_mention(self, ent):
After Change
}
//r = Q("match", country_code3=country)
//res = self.conn.query(q).query(r)[0:50].execute()
res = self.conn.filter("term", country_code3=country).query(q)[0:50].execute()
out = utilities.structure_results(res)
return out
def _feature_location_type_mention(self, ent):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: openeventdata/mordecai
Commit Name: 9a1a56036a7e5eed0b29d9ea44371f8c629feebf
Time: 2018-06-19
Author: ahalterman0@gmail.com
File Name: mordecai/geoparse.py
Class Name: Geoparser
Method Name: query_geonames_country
Project Name: openeventdata/mordecai
Commit Name: 9a1a56036a7e5eed0b29d9ea44371f8c629feebf
Time: 2018-06-19
Author: ahalterman0@gmail.com
File Name: mordecai/geoparse.py
Class Name: Geoparser
Method Name: query_geonames_country
Project Name: openeventdata/mordecai
Commit Name: 9a1a56036a7e5eed0b29d9ea44371f8c629feebf
Time: 2018-06-19
Author: ahalterman0@gmail.com
File Name: mordecai/geoparse.py
Class Name: Geoparser
Method Name: query_geonames