Learn R Programming

polyglotr (version 1.5.2)

translate_to_morse: Translate Text to Morse Code using the FunTranslations API

Description

This function takes a string of text as input and translates it to Morse code using the FunTranslations API.

Usage

translate_to_morse(text, api_key = NULL)

Value

A list containing the translated Morse code text and other metadata.

Arguments

text

A character string containing the text to be translated to Morse code.

api_key

(optional) Your FunTranslations API key, if you have a paid subscription.