jiebaR (version 0.10.99)

tagging: Speech Tagging

Description

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.

Usage

tagging(code, jiebar)

Arguments

code

a Chinese sentence or the path of a text file

jiebar

jiebaR Worker

Details

There is a symbol <= for this function.

References

The ictclas speech tag : http://t.cn/RAEj7e1

See Also

<=.tagger worker

Examples

Run this code
# NOT RUN {
words = "hello world"

### Speech Tagging 
tagger = worker("tag")
tagger <= words
# }

Run the code above in your browser using DataLab