splitstr.check: Split String Check

Description Usage Arguments Value Author(s) Examples

View source: R/splitstr.check.R

Description

A wrapper function for spell-checking (ensures next word does not belong to the previous)

Usage

1

Arguments

split

A split string to check

base

Database to check

Value

Returns the string as is or with the selected responses merged

Author(s)

Alexander Christensen <[email protected]>

Examples

1
2
3
4
5
6
7
8
#create long word vector
vec <- "bombay opossum guinea pig horse cow"

#split vector
split <- strsplit(vec, " ")[[1]]


splitstr.check(split, animals.database)

AlexChristensen/SemNetCleaner documentation built on July 30, 2018, 10:16 p.m.