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


koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.