- java.lang.Object
-
- io.annot8.common.components.AbstractComponentDescriptor<T,S>
-
- io.annot8.common.components.AbstractProcessorDescriptor<DetectLanguage.Processor,io.annot8.api.settings.NoSettings>
-
- io.annot8.components.text.processors.DetectLanguage
-
- All Implemented Interfaces:
io.annot8.api.components.Annot8ComponentDescriptor<DetectLanguage.Processor,io.annot8.api.settings.NoSettings>,io.annot8.api.components.ProcessorDescriptor<DetectLanguage.Processor,io.annot8.api.settings.NoSettings>
@ComponentName("Detect Language") @ComponentDescription("Detect the language of text content") public class DetectLanguage extends io.annot8.common.components.AbstractProcessorDescriptor<DetectLanguage.Processor,io.annot8.api.settings.NoSettings>Detect the language of a Text content and add the language as an annotation covering the whole Content.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDetectLanguage.Processor
-
Constructor Summary
Constructors Constructor Description DetectLanguage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.annot8.api.capabilities.Capabilitiescapabilities()protected DetectLanguage.ProcessorcreateComponent(io.annot8.api.context.Context context, io.annot8.api.settings.NoSettings settings)-
Methods inherited from class io.annot8.common.components.AbstractComponentDescriptor
create, getName, getSettings, setName, setSettings
-
-
-
-
Method Detail
-
createComponent
protected DetectLanguage.Processor createComponent(io.annot8.api.context.Context context, io.annot8.api.settings.NoSettings settings)
- Specified by:
createComponentin classio.annot8.common.components.AbstractComponentDescriptor<DetectLanguage.Processor,io.annot8.api.settings.NoSettings>
-
capabilities
public io.annot8.api.capabilities.Capabilities capabilities()
-
-