pub enum Language {
Show 29 variants
BG,
CS,
DA,
DE,
EL,
EN,
ES,
ET,
FI,
FR,
HU,
ID,
IT,
JA,
KO,
LT,
LV,
NB,
NL,
PL,
PT,
RO,
RU,
SK,
SL,
SV,
TR,
UK,
ZH,
}
Expand description
The summarizer can translate the output into a desired language, using the table of supported language codes below.
If no language is specified, the document’s original language is allowed to influence the summarizer’s output. Specifying a language will add a an explicit translation step, to translate the summary to the desired language.
For example, if a document is mostly written in Spanish, the summary output may itself be in Spanish or contain Spanish passages. Specifying “EN” will ensure all passages are translated as English.
Variants§
BG
Bulgarian
CS
Czech
DA
Danish
DE
German
EL
Greek
EN
English
ES
Spanish
ET
Estonian
FI
Finnish
FR
French
HU
Hungarian
ID
Indonesian
IT
Italian
JA
Japanese
KO
Korean
LT
Lithuanian
LV
Latvian
NB
Norwegian
NL
Dutch
PL
Polish
PT
Portuguese
RO
Romanian
RU
Russian
SK
Slovak
SL
Slovenian
SV
Swedish
TR
Turkish
UK
Ukrainian
ZH
Chinese (simplified)