Enum cang_jie::options::TokenizerOption[][src]

pub enum TokenizerOption {
    All,
    Default {
        hmm: bool,
    },
    ForSearch {
        hmm: bool,
    },
    Unicode,
}

Tokenizer Option

Variants

Cut the input text, return all possible words

Cut the input text

Fields of Default

hmm: enable HMM or not

Cut the input text in search mode

Fields of ForSearch

hmm: enable HMM or not

Cut the input text into UTF-8 characters

Trait Implementations

impl Debug for TokenizerOption
[src]

Formats the value using the given formatter. Read more

impl Clone for TokenizerOption
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations