Language
in package
A language represented as an object.
This structure is experimental and subject to change.
Tags
Table of Contents
Properties
- $charactersubst : string
- $dict1uri : string
- $dict2uri : string
- $exceptionsplitsent : string
- $exporttemplate : string
- $id : int
- $name : string
- $regexpsplitsent : string
- $regexpwordchar : string
- $removespaces : bool
- $rightoleft : bool
- $showromanization : string
- $spliteachchar : bool
- $textsize : int
- $translator : string
- $ttsvoiceapi : string
Methods
- export_js_dict() : string
- Export word data as a JSON dictionnary.
Properties
$charactersubst
public
string
$charactersubst
Character to substitue.
$dict1uri
public
string
$dict1uri
URI for the first dictionary.
$dict2uri
public
string
$dict2uri
URI for the second dictionary.
$exceptionsplitsent
public
string
$exceptionsplitsent
Characters taht should not split sentence.
$exporttemplate
public
string
$exporttemplate
Export template.
$id
public
int
$id
Language ID.
$name
public
string
$name
Language name.
$regexpsplitsent
public
string
$regexpsplitsent
Characters that should split a sentence in part.
$regexpwordchar
public
string
$regexpwordchar
Word characters.
$removespaces
public
bool
$removespaces
If spaces should be removed.
$rightoleft
public
bool
$rightoleft
If the language is right-to-left.
$showromanization
public
string
$showromanization
Setting to show or hide romanization
$spliteachchar
public
bool
$spliteachchar
If each character should be separated.
$textsize
public
int
$textsize
Text size.
$translator
public
string
$translator
Translator URI.
$ttsvoiceapi
public
string
$ttsvoiceapi
An external API for voice
Methods
export_js_dict()
Export word data as a JSON dictionnary.
public
export_js_dict() : string
Return values
string —JSON disctionnary.