-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlinguee_word_translation.Rd
38 lines (34 loc) · 1.12 KB
/
linguee_word_translation.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/linguee_word_translation.R
\name{linguee_word_translation}
\alias{linguee_word_translation}
\title{Translate word using Linguee Translation API}
\usage{
linguee_word_translation(
word,
target_language,
source_language,
guess_direction = FALSE,
follow_corrections = "always"
)
}
\arguments{
\item{word}{This is the word that you want to translate.}
\item{target_language}{This is the language that you want to translate the word into.}
\item{source_language}{This is the language of the word that you want to translate.}
\item{guess_direction}{Specifies whether the API should guess the translation direction when the source language is set to "auto".
The default value is FALSE.}
\item{follow_corrections}{Specifies whether the API should include translations that have been marked as corrections.
The default value is "always" to include corrections.}
}
\value{
Translated word options.
}
\description{
Translate word using Linguee Translation API
}
\examples{
\donttest{
linguee_word_translation("hello", target_language = "es", source_language = "en")
}
}