pullword (version 0.2)

pullword: R Interface of PullWord service

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

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

Run this code
# NOT RUN {
require(pullword)
pullword('Replace this field with a Chinese sentence.',threshold=0,showProb=TRUE)
# }

Run the code above in your browser using DataCamp Workspace