Learn R Programming

JATSdecoder (version 1.2.0)

letter.convert: letter.convert

Description

Converts and unifies most hexadecimal and some HTML coded letters to Unicode characters. Performs CERMINE specific error correction (inserting operators, where these got lost while conversion).

Usage

letter.convert(x, cermine = FALSE, greek2text = FALSE, warning = TRUE)

Value

Character. Text with unified and corrected letter representation.

Arguments

x

text string to process.

cermine

Logical. If TRUE CERMINE specific error handling and letter conversion will be applied.

greek2text

Logical. If TRUE some greek letters and special characters will be unified to textual representation (important to extract stats).

warning

Logical. If TRUE prints warning massage if CERMINE specific letter conversion was performed.

Examples

Run this code
x<-c("five < ten","five < ten")
letter.convert(x)

Run the code above in your browser using DataLab