The function uses Speech Tagging worker to cut word and
tags each word after segmentation using labels compatible with
ictclas. dict
hmm
and user
should be provided when initializing
jiebaR worker.
tagging(code, jiebar)
a Chinese sentence or the path of a text file
jiebaR Worker
There is a symbol <=
for this function.
The ictclas speech tag : http://t.cn/RAEj7e1
# NOT RUN {
words = "hello world"
### Speech Tagging
tagger = worker("tag")
tagger <= words
# }
Run the code above in your browser using DataLab