Learn R Programming

morestopwords (version 0.2.0)

match.lang: Matches a string with the ISO 639-1 code available in this library

Description

See https://en.wikipedia.org/wiki/ISO_639-1 for details of the language code.

Usage

match.lang(lang)

Value

A character vector containing the two-letter ISO 639-1 code associated to the requested language.

Arguments

lang

Either an ISO 639-2/3 or a language name from which to derive a ISO 639-2 code. For language names performs string matching.