jiebaR (version 0.10.99)

new_user_word: Add user word

Description

Add user word

Usage

new_user_word(worker, words, tags = rep("n", length(words)))

Arguments

worker

a jieba worker

words

the new words

tags

the new words tags, default "n"

Examples

Run this code
# NOT RUN {
cc = worker()
new_user_word(cc, "test")
new_user_word(cc, "do", "v")
# }

Run the code above in your browser using DataCamp Workspace