ros_language: Rosette API language identification service

Description Usage Arguments Examples

View source: R/lang.r

Description

Returns list of candidate languages in order of descending confidence. The response is an ordered list of identified languages, including language and identification confidence, sorted by descending confidence.

Usage

1
ros_language(content, genre = NULL, language = NULL)

Arguments

content

either a URI or character vector of content to process

genre

document genre (optional)

language

Language: ISO 639-3 code (optional)

Examples

1
ros_language("Por favor Se<c3><b1>orita, says the man.")

hrbrmstr/rosette documentation built on May 17, 2019, 5:13 p.m.