Home
last modified time | relevance | path

Searched refs:kMp (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/
Djieba_tokenizer_op.cc40 if (jieba_mode_ == JiebaMode::kMp) { in Tokenize()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dconstants.h134 kMp = 1, ///< Tokenize with Hiddel Markov Model Segment algorithm. enumerator
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_text_test.cc777 std::make_shared<text::JiebaTokenizer>(hmm_path, mp_path, JiebaMode::kMp); in TEST_F()
875 std::make_shared<text::JiebaTokenizer>(hmm_path, mp_path, JiebaMode::kMp, true); in TEST_F()
945 std::make_shared<text::JiebaTokenizer>("", mp_path, JiebaMode::kMp); in TEST_F()
970 std::make_shared<text::JiebaTokenizer>(hmm_path, "", JiebaMode::kMp); in TEST_F()
996 std::make_shared<text::JiebaTokenizer>(hmm_path_invalid, mp_path, JiebaMode::kMp); in TEST_F()
1022 std::make_shared<text::JiebaTokenizer>(hmm_path, mp_path_invalid, JiebaMode::kMp); in TEST_F()
1047 std::make_shared<text::JiebaTokenizer>(hmm_path, mp_path, JiebaMode::kMp); in TEST_F()
1099 std::make_shared<text::JiebaTokenizer>(hmm_path, mp_path, JiebaMode::kMp); in TEST_F()
1151 std::make_shared<text::JiebaTokenizer>(hmm_path, mp_path, JiebaMode::kMp); in TEST_F()
1203 std::make_shared<text::JiebaTokenizer>(hmm_path, mp_path, JiebaMode::kMp); in TEST_F()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/text/kernels/ir/
Dbindings.cc249 .value("DE_JIEBA_MP", JiebaMode::kMp) in __anonf0f064542602()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/ir/kernels/
Dtext_ir.cc162 if (mode_ != JiebaMode::kMix && mode_ != JiebaMode::kMp && mode_ != JiebaMode::kHmm) { in ValidateParams()