bt_translate: Wrapper for google translate to prevent overtranslation

View source: R/bt_translate.R

bt_translateR Documentation

Wrapper for google translate to prevent overtranslation

Description

after some analysis, it was determined that 200-300 is the best amount of characters to translate to make accurate predictions, see projects/translation stats for some graphs and stuff.

Usage

bt_translate(string, trunc = 275)

Arguments

string

string to be translated

trunc

amount of characters to limit it to

Value

exactly the same as googleLanguageR::gl_translate


global-trade-alert/gtabastiat documentation built on June 4, 2023, 6:40 a.m.