match.lang {morestopwords}R 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.


[Package morestopwords version 0.2.0 Index]