Learn R Programming

jiebaR (version 0.11.1)

<=.qseg: Quick mode symbol

Description

Depreciated.

Usage

# S3 method for qseg
<=(qseg, code)

# S3 method for qseg [(qseg, code)

qseg

Format

qseg an environment

Arguments

qseg

a qseg object

code

a string

Author

Qin Wenfeng <http://qinwenfeng.com>

Details

Quick mode is depreciated, and is scheduled to be remove in v0.11.0. If you want to keep this feature, please submit a issue on GitHub page to let me know.

Quick mode symbol to do segmentation, keyword extraction and speech tagging. This symbol will initialize a quick_worker when it is first called, and will do segmentation or other types of work immediately.

You can reset the default model setting by $, and it will change the default setting the next time you use quick mode. If you only want to change the parameter temporarily, you can reset the settings of quick_worker$. get_qsegmodel, set_qsegmodel, and reset_qsegmodel are also available for setting quick mode settings.

See Also

set_qsegmodel worker

Examples

Run this code
if (FALSE) {
qseg <= "This is test"
qseg <= "This is the second test"
}

if (FALSE) {
qseg <= "This is test"
qseg$detect = T
qseg
get_qsegmodel()
}

Run the code above in your browser using DataLab