Nothing
Code
worker(user = user_zero)
Condition
Error in `new_worker()`:
! Invalid user dictionary `<user-zero>` at line 1: frequency must be greater than zero; omit it to infer it automatically.
Code
worker(dict = dict_zero)
Condition
Error in `new_worker()`:
! Invalid main dictionary `<dict-zero>` at line 1: frequency must be greater than zero.
Code
worker(user = user_bad_frequency)
Condition
Error in `new_worker()`:
! Invalid user dictionary `<user-bad-frequency>` at line 1: frequency must be a positive integer.
Code
worker(user = user_too_many)
Condition
Error in `new_worker()`:
! Invalid user dictionary `<user-too-many>` at line 1: expected `word`, `word freq`, `word tag`, or `word freq tag`.
Code
worker(dict = 5)
Condition
Error in `worker()`:
! `dict` must be `NULL` or a path to a main dictionary file.
Code
worker(dict = "/nonexistent/dict.txt")
Condition
Error in `worker()`:
! `dict` must point to an existing main dictionary file.
Code
worker(user = 5)
Condition
Error in `worker()`:
! `user` must be `NULL` or a non-empty character vector of user dictionary file paths.
Code
worker(user = "/nonexistent/user.txt")
Condition
Error in `worker()`:
! Every path in `user` must point to an existing user dictionary file.
Code
worker(type = "nope")
Condition
Error in `worker()`:
! `type` must be one of "mix", "mp", "hmm", "full", "query", "tag", "keywords", or "textrank", not "nope".
Code
worker(min_keyword_length = 0)
Condition
Error in `worker()`:
! `min_keyword_length` must be a positive integer.
Code
worker(min_keyword_length = 1.5)
Condition
Error in `worker()`:
! `min_keyword_length` must be a positive integer.
Code
worker(min_keyword_length = NA)
Condition
Error in `worker()`:
! `min_keyword_length` must be a positive integer.
Code
worker(hmm = "path/to/hmm_model.utf8")
Condition
Error in `worker()`:
! `hmm` must point to an existing custom HMM model file.
`worker(type = 'mp')` is currently mapped to `jieba-rs` `cut(..., false)` because `jieba-rs` does not expose a dedicated `mp` segmenter. Results may differ from `jiebaR`.
This warning is displayed once per session.
`worker(type = 'hmm')` is currently mapped to `jieba-rs` `cut(..., true)` because `jieba-rs` does not expose a dedicated `hmm` segmenter. Results may differ from `jiebaR`.
This warning is displayed once per session.
`bylines` is deprecated in `jiebaRS` and no longer has any effect. Control batch aggregation explicitly in specific functions.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.