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
pullword(input = NULL, file = NULL, threshold = 0, showProb = FALSE)
The input text.
The input file.
The minimum probability for the words appearing in the result. Should be a real value between 0 and 1.
logical. The return value would be a data.frame if TRUE, or a vector otherwise.
data.frame
TRUE
vector
# 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