Goobi Step Plugin for annotating automatically existing "location" NER tags in ALTO files with Geonames URLs.
Name | Wert |
---|---|
This step plugin for Goobi workflow automatically annotates existing "location" NER tags in ALTO files with GeoNames URLs. The first hit of the search query is always taken. It is therefore recommended to check and correct the results again.
The plugin consists of the following files:
The file goobi_plugin_step_geonamesautoannotator-base.jar
must be installed in the correct directory so that it is available at the following path after installation:
In addition, there is a configuration file that must be located in the following place:
This plugin is integrated into the workflow in such a way that it is executed automatically. Manual interaction with the plugin is not necessary. For use within a workflow step, it should be configured as shown in the screenshot below.
The plugin searches the GeoNames database for all location
NER tags. If one or more search hits are returned, the first search hit in the list is transferred to the ALTO.
The configuration of the plugin is done via the configuration file plugin_intranda_step_geonamesautoannotator.xml
and can be adjusted during operation. The following is an example configuration file:
It is recommended to purchase a higher quota from geonames for the operation of the plugin. If this has been done, the geonamesApiUrl
must be changed to http://ws.geonames.net
.
Parameter | Explanation |
---|---|
Identifier
intranda_step_geonamesautoannotator
Repository
Licence
GPL 2.0 or newer
Last change
25.07.2024 11:58:33
project
This parameter determines the project for which the current block <config>
is to apply. The name of the project is used here. This parameter can occur several times per <config>
block.
step
This parameter controls for which workflow steps the block <config>
is to apply. The name of the step is used here. This parameter can occur several times per <config>
block.
geonamesAccount
This parameter defines the account name for GeoNames access.
geonamesApiUrl
The URL for accessing the GeoNames API is set here.