get_qsegmodel {jiebaR}R Documentation

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.

Author(s)

Qin Wenfeng <http://qinwenfeng.com>

See Also

qseg worker

Examples

## Not run: 
qseg <= "This is test"
qseg <= "This is the second test"

## End(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()

## End(Not run)

[Package jiebaR version 0.11 Index]