Learn R Programming

morestopwords (version 0.2.0)

languages: Returns ISO codes and names for all language or only those available in this package

Description

See the relevant Wikipedia article for details on the language codes.

Usage

languages(available = TRUE)

Value

A data frame with a row for each languages (only those supported if available is TRUE) and columns for the several ISO codes (639-2, 639-3, 639-1) and the name.

Arguments

available

logical, whether to return only the languages supported in this package.

Details

Note that:

  • the ISO 639-1 code for mainland Chinese was changed to zh-cn.

  • A list of stop words in the variety of Chinese spoken in the island of Taiwan is accessible using the ISO 639-1 zh-tw or the name 'Chinese Taiwan'.

  • Ancient Greek has been assigned an artifact ISO 639-1 code (gr) because it had none. Its ISO 639-2 and 639-3 codes are both grc.

Examples

Run this code
# Return all languages in the ISO 639-2/3 standard
languages()

Run the code above in your browser using DataLab