Documentation

Language
in package

A language represented as an object.

This structure is experimental and subject to change.

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
$spliteachchar  : bool
$textsize  : int
$translator  : 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.

$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.

$spliteachchar

public bool $spliteachchar

If each character should be separated.

$textsize

public int $textsize

Text size.

$translator

public string $translator

Translator URI.

Methods

export_js_dict()

Export word data as a JSON dictionnary.

public export_js_dict() : string
Return values
string

JSON disctionnary.


        
On this page

Search results