TextToTextTopics
in package
implements
ITaskType
This is the task processing task type for topics extraction
Tags
Table of Contents
Interfaces
- ITaskType
- This is a task type interface that is implemented by task processing task types
Constants
- ID = 'core:text2text:topics'
Properties
Methods
- __construct() : mixed
- getDescription() : string
- Returns the localized description of this task type
- getId() : string
- Returns the unique id of this task type
- getInputShape() : array<string|int, ShapeDescriptor>
- Returns the shape of the input array
- getName() : string
- Returns the localized name of this task type
- getOutputShape() : array<string|int, ShapeDescriptor>
- Returns the shape of the output array
Constants
ID
public
mixed
ID
= 'core:text2text:topics'
Tags
Properties
$l
private
IL10N
$l
Methods
__construct()
public
__construct(IFactory $l10nFactory) : mixed
Parameters
- $l10nFactory : IFactory
Tags
getDescription()
Returns the localized description of this task type
public
getDescription() : string
Tags
Return values
stringgetId()
Returns the unique id of this task type
public
getId() : string
Tags
Return values
stringgetInputShape()
Returns the shape of the input array
public
getInputShape() : array<string|int, ShapeDescriptor>
Tags
Return values
array<string|int, ShapeDescriptor>getName()
Returns the localized name of this task type
public
getName() : string
Tags
Return values
stringgetOutputShape()
Returns the shape of the output array
public
getOutputShape() : array<string|int, ShapeDescriptor>