ros_name_translation: Rosette API name translation service

Description Usage Arguments Examples

View source: R/ping.r

Description

Returns the translation of a name. You must specify the name to translate and the target language for the translation.

Usage

1
2
3
ros_name_translation(name, target_language, target_scheme = NULL,
  target_script = NULL, entity_type = NULL, source_language_origin = NULL,
  source_language_use = NULL, source_script = NULL)

Arguments

name

string (name) to be translated

target_language

ISO 639-3 code for the translation langauge

target_scheme

transliteration scheme for the translation (optional)

target_script

ISO 15924 code for the translation script (optional)

entity_type

the entity type of the text. One of PERSON, LOCATION or ORGANIZATION (optional)

source_language_origin

ISO 639-3 code for the name's language of origin (optional)

source_language_use

ISO 639-3 code for the name's language of use (optional)

source_script

ISO 15924 code for the name's script (optional)

Examples

1
ros_name_translation("<d9><85><d8><b9><d9><85><d8><b1> <d9><85><d8><ad><d9><85><d8><af> <d8><a3><d8><a8><d9><88> <d9><85><d9><86><d9><8a><d8><a7><d8><b1> <d8><a7><d9><84><d9><82><d8><b0><d8><a7><d9><81>", "eng")

hrbrmstr/rosette documentation built on May 17, 2019, 5:13 p.m.