The function uses initialized engines for words segmentation. You
can initialize multiple engines simultaneously using
Public settings of workers can be got and modified using
WorkerName$symbol = T . Some private settings are fixed
when engine is initialized, and you can get then by
A Chinese sentence or the path of a text file.
change default result type, value can be "mix","hmm","query","full" or "mp"
There are four kinds of models:
Maximum probability segmentation model uses Trie tree to construct
a directed acyclic graph and uses dynamic programming algorithm. It
is the core segmentation algorithm.
should be provided when initializing jiebaR worker.
Hidden Markov Model uses HMM model to determine status set and
observed set of words. The default HMM model is based on People's Daily
hmm should be provided when initializing
MixSegment model uses both Maximum probability segmentation model
and Hidden Markov Model to construct segmentation.
user should be provided when initializing
QuerySegment model uses MixSegment to construct segmentation and then
enumerates all the possible long words in the dictionary.
qmax should be provided when initializing
There is a symbol
<= for this function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.