-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlinguee_translation_examples.Rd
43 lines (38 loc) · 1.27 KB
/
linguee_translation_examples.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
39
40
41
42
43
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/linguee_translation_examples.R
\name{linguee_translation_examples}
\alias{linguee_translation_examples}
\title{Provide translation examples using Linguee Translation API}
\usage{
linguee_translation_examples(
query,
src,
dst,
guess_direction = FALSE,
follow_corrections = "always"
)
}
\arguments{
\item{query}{The word or phrase for which you want translation examples.}
\item{src}{The source language of the word or phrase. Accepts language codes such as "en", "es", "fr", etc.}
\item{dst}{The target language for the translation examples. Accepts language codes such as "en", "es", "fr", etc.}
\item{guess_direction}{A boolean flag that determines whether the API should guess the translation direction.
The default value is FALSE.}
\item{follow_corrections}{Specifies how to treat responses with a "did you mean" link.
Possible values are "always", "never", or "on_empty_translations".
The default value is "always".}
}
\value{
A dataframe of translation examples with columns: source, target, pos.
}
\description{
Provide translation examples using Linguee Translation API
}
\examples{
\donttest{
linguee_translation_examples(query = "hello", src = "en", dst = "es")
}
}
\seealso{
linguee_word_translation
}