- java.lang.Object
-
- io.annot8.common.components.AbstractComponentDescriptor<T,S>
-
- io.annot8.common.components.AbstractProcessorDescriptor<AhoCorasick.Processor,S>
-
- io.annot8.components.gazetteers.processors.AhoCorasick<CountryGazetteer.Settings>
-
- io.annot8.components.geo.processors.CountryGazetteer
-
- All Implemented Interfaces:
io.annot8.api.components.Annot8ComponentDescriptor<AhoCorasick.Processor,CountryGazetteer.Settings>,io.annot8.api.components.ProcessorDescriptor<AhoCorasick.Processor,CountryGazetteer.Settings>
@ComponentName("CountryGazetteer") @ComponentDescription("Extract countries from text") @SettingsClass(Settings.class) public class CountryGazetteer extends AhoCorasick<CountryGazetteer.Settings>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCountryGazetteer.Settings-
Nested classes/interfaces inherited from class io.annot8.components.gazetteers.processors.AhoCorasick
AhoCorasick.Processor, AhoCorasick.TransformedString
-
-
Constructor Summary
Constructors Constructor Description CountryGazetteer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.annot8.api.capabilities.Capabilitiescapabilities()protected AhoCorasick.ProcessorcreateComponent(io.annot8.api.context.Context context, CountryGazetteer.Settings countryGazetteerSettings)-
Methods inherited from class io.annot8.common.components.AbstractComponentDescriptor
create, getName, getSettings, setName, setSettings
-
-
-
-
Method Detail
-
createComponent
protected AhoCorasick.Processor createComponent(io.annot8.api.context.Context context, CountryGazetteer.Settings countryGazetteerSettings)
- Specified by:
createComponentin classio.annot8.common.components.AbstractComponentDescriptor<AhoCorasick.Processor,CountryGazetteer.Settings>
-
capabilities
public io.annot8.api.capabilities.Capabilities capabilities()
- Specified by:
capabilitiesin interfaceio.annot8.api.components.Annot8ComponentDescriptor<AhoCorasick.Processor,CountryGazetteer.Settings>- Overrides:
capabilitiesin classAhoCorasick<CountryGazetteer.Settings>
-
-