Learn R Programming

jiebaR (version 0.11)

get_qsegmodel: Set quick mode model

Description

Depreciated.

Usage

get_qsegmodel()

set_qsegmodel(qsegmodel)

reset_qsegmodel()

Arguments

qsegmodel

a list which has the same structure as the return value of get_qsegmodel

Details

These function can get and modify quick mode model. get_qsegmodel returns the default model parameters. set_qsegmodel can modify quick mode model using a list, which has the same structure as the return value of get_qsegmodel. reset_qsegmodel can reset the default model to origin jiebaR default model.

See Also

qseg worker

Examples

Run this code
# NOT RUN {
qseg <= "This is test"
qseg <= "This is the second test"
# }
# NOT RUN {
# }
# NOT RUN {
qseg <= "This is test"
qseg$detect = T
qseg
get_qsegmodel()
model = get_qsegmodel()
model$detect = F
set_qsegmodel(model)
reset_qsegmodel()
# }

Run the code above in your browser using DataLab