Module lua.jieba.jieba

wrap require'jieba'.Jieba

Functions

M.Jieba:new (jieba)
M.Jieba:cut (str, hmm) cut string

Tables

paths config for paths

Fields

hmm if hmm is enabled


Functions

M.Jieba:new (jieba)

Parameters:

  • jieba table?

Returns:

    table? jieba

See also:

M.Jieba:cut (str, hmm)
cut string

Parameters:

  • str string
  • hmm boolean?

Returns:

    string[]

Tables

paths
config for paths

Fields:

  • dict_path for dict
  • model_path for model
  • user_dict_path for user dict
  • idf_path for idf
  • stop_word_path for stop words

Fields

hmm
if hmm is enabled
generated by LDoc 1.5.0 Last updated 2026-01-21 04:56:51