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

View source: R/internal.R

match.langR Documentation

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)

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.

Value

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


morestopwords documentation built on July 10, 2023, 2 a.m.