purge: Purge character vector from villain characters.

Description Usage Arguments Format Examples

View source: R/purge.R

Description

Both preprocessing and postprocessing required!

Usage

1
2
3
4
5

Arguments

x

character vector to purge

replacements

...

progress

logical

Format

An object of class list of length 14.

An object of class list of length 3.

Examples

1
2
3
4
5
6
7
8
9
library(data.table)
options(java.parameters = "-Xmx4g")
txt <- "Karadžiš!"
properties_german_fast <- corenlp_get_properties_file(lang = "de")
y <- corenlp_annotate(
  data.table(doc_id = 1L:length(txt), text = txt),
  properties = properties_german_fast,
  corenlp_dir = corenlp_get_jar_dir(),
)

PolMine/bignlp documentation built on Jan. 29, 2021, 1:14 a.m.