pullword: R Interface of PullWord service

Description Usage Arguments Examples

View source: R/pullword.R

Description

This function deals with communication with the server. The result will be parsed in a vector or a matrix, depends on show probability or not

pullword

Usage

1
pullword(input = NULL, file = NULL, threshold = 0, showProb = FALSE)

Arguments

input

The input text.

file

The input file.

threshold

The minimum probability for the words appearing in the result. Should be a real value between 0 and 1.

showProb

logical. The return value would be a data.frame if TRUE, or a vector otherwise.

Examples

1
2
require(pullword)
pullword('Replace this field with a Chinese sentence.',threshold=0,showProb=TRUE)

pullword documentation built on July 13, 2021, 5:11 p.m.

Related to pullword in pullword...