tagging {jiebaR}R Documentation

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.

Author(s)

Qin Wenfeng

References

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

See Also

<=.tagger worker

Examples

## Not run: 
words = "hello world"

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

## End(Not run)

[Package jiebaR version 0.11 Index]