Struct rust_jieba::Jieba [] [src]

pub struct Jieba { /* fields omitted */ }

Methods

impl Jieba
[src]

[src]

Create a new instance

[src]

Create a new instance from dict data directory

[src]

Cut the input text

Params

text: input text

hmm: enable HMM or not

[src]

Cut the input text, return all possible words

Params

text: input text

Cut the input text in search mode

Params

text: input text

hmm: enable HMM or not

[src]

Cut the input text using HMM

Params

text: input text

[src]

Cut the input text but limit max word length

Params

text: input text

max_word_len: max word length

[src]

Tag the input text

Params

text: input text

[src]

Look up an single word's tag

[src]

Add user defined word

[src]

Tokenize

Params

text: input text

mode: tokenize mode

hmm: enable HMM or not

[src]

Extract keywords

Params

text: input text

top_k: limit return keywords count

[src]

Extract keywords with weight

Params

text: input text

top_k: limit return keywords count

Trait Implementations

impl Debug for Jieba
[src]

[src]

Formats the value using the given formatter.

impl Clone for Jieba
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Drop for Jieba
[src]

[src]

Executes the destructor for this type. Read more

impl Send for Jieba
[src]

impl Sync for Jieba
[src]