Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Type

Info

attributes

string

Additional meta data of the returned match/search result, empty if not available.

createddateMeta data, creation time stamp of the returned match/search result

creator

string

Meta data, creator of the returned match/search result

lastEditeddateMeta data, last edited time stamp of the returned match/search result
lastEditorstringMeta data, last editor of the returned match/search result

matchrate

integer

matchrate of a found match, 0 for search results.

source

string

The found source text.

state

string

"loaded" wenn all is OK, "servererror" when we got an error in the queried service.

target

string

The found target text.

languageResourceIdstring

The queried Language Resource, just for reference.

 


Langauge-Resource Instance Resource Layout

Name

Type

Info

id

integer

GET only

entityVersionintegerGET only, set by server

name

string

Custom name of the match resource.

sourceLangintegerGET / POST, non editable after creation; numeric DB id of the language
targetLangintegerGET / POST, non editable after creation; numeric DB id of the language

color

string

Custom color of the match resource in hexadecimal form, used in the GUI.

resourceId

string

POST / GET, non editable after creation

serviceType

string

POST / GET only, only, set by setting a resourceId

serviceName

string

GET only, set by setting a resourceId

fileNamestring

POST / GET, can not be changed

filebasedbooleanGET only, set by setting a resourceId
searchablebooleanGET only, set by setting a resourceId

...

Configuration of the Language Resources

Config name

Values

Default

Description

runtimeOptions.LanguageResources.preloadedTranslationSegments

integer3Number of segments for which matches are preloaded (cached) in the front-end.
runtimeOptions.LanguageResources.moses.serverjson array[ ]Moses MT related: List of available Moses Server, example: ["http://www.translate5.net:8124/RPC2"]
runtimeOptions.LanguageResources.moses.matchrateinteger, 0 - 10070

Moses MT related: Moses MT penalty value, used as default matchrate since in MT no matchrate is available.