kRp.lang-class function

S4 Class kRp.lang

S4 Class kRp.lang

This class is used for objects that are returned by guess.lang. class

Slots

  • lang: A character string, naming the language (by its ISO 639-3 identifier) that was estimated for the analized text in this object.
  • lang.name: A character string, full name of the estimated language.
  • txt: A character string containing the analized part of the text.
  • txt.full: A character string containing the full text.
  • udhr: A data.frame with full analysis results for each language tried.

Contructor function

Should you need to manually generate objects of this class (which should rarely be the case), the contructor function kRp_lang(...) can be used instead of new("kRp.lang", ...).

  • Maintainer: Meik Michalke
  • License: GPL (>= 3)
  • Last published: 2021-05-17