tokens_tortl: [Experimental] Change direction of words in tokens

Description Usage Arguments

View source: R/directionchange-functions.R

Description

This function adds a Unicode direction mark to tokens types for punctuations and symbols to correct how right-to-left languages (e.g. Arabic, Hebrew, Persian, and Urdu) are printed in HTML-based consoles (e.g. R Studio). This is an experimental function subject to future change.

Usage

1
2
3

Arguments

x

the input object whose punctuation marks will be modified by the direction mark


quanteda/quanteda documentation built on Feb. 16, 2019, 5:45 a.m.