set_qsegmodel: Set quick mode model

Description Usage Arguments Details Author(s) See Also Examples

View source: R/quick.R

Description

Depreciated.

Usage

1
2
3
4
5

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## 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)

jiebaR documentation built on Dec. 16, 2019, 1:19 a.m.