Documentation

RosetteConstants
in package

Class RosetteConstants.

Table of Contents

Properties

$DataFormat  : array<string|int, mixed>
Accepted data formats.
$MorphologyOutput  : array<string|int, mixed>
Accepted Morphology Output types.
$RosetteExceptionFullClassName  : mixed

Properties

$DataFormat

Accepted data formats.

public static array<string|int, mixed> $DataFormat = array('SIMPLE' => '', 'JSON' => 'application/json', 'HTML' => 'text/html', 'XHTML' => 'application/xhtml+xml', 'UNSPECIFIED' => 'application/octet-stream')

$MorphologyOutput

Accepted Morphology Output types.

public static array<string|int, mixed> $MorphologyOutput = array('LEMMAS' => 'lemmas', 'PARTS_OF_SPEECH' => 'parts-of-speech', 'COMPOUND_COMPONENTS' => 'compound-components', 'HAN_READINGS' => 'han-readings', 'COMPLETE' => 'complete')

$RosetteExceptionFullClassName

public static mixed $RosetteExceptionFullClassName = 'rosette\api\RosetteException'

        
On this page

Search results