encodings: adjust encoding

Description Usage Arguments

Description

Utility method to help making sure that the encoding of a character string or the relevant parts of an object conform to the encoding to the corpus.

adjustEncoding-method

Usage

1
2
3
4
5
6
7
8
9
adjustEncoding(.Object, ...)

## S4 method for signature 'character'
adjustEncoding(.Object, corpusEncoding)

as.utf8(.Object, ...)

## S4 method for signature 'character'
as.utf8(.Object, from = "latin1")

Arguments

.Object

the object (usually a character vector, nothing else is implemented so far)

...

further parameters

corpusEncoding

the encoding of the corpus (e.g. "latin1")

from

encoding


nrauscher/corpus documentation built on May 23, 2019, 9:34 p.m.