dhlab.text.geo_data
¶
Module Contents¶
Classes¶
API¶
- class dhlab.text.geo_data.GeoData(urn=None, model=None)¶
Fetch place data from a text (book, newspaper or …) identified by URN with an appropriate and available spacy model.
The models are retrieved by instantiating :py:class:
~text.parse.Models
.Initialization
- _fetch_place_names(urn, model)¶
- add_geo_locations(feature_class=None, feature_code=None)¶
Get location data for the names in object, attribute self.place_names
- class dhlab.text.geo_data.GeoNames(names, feature_class=None, feature_code=None)¶
Fetch data from a list of names
Initialization