Home
last modified time | relevance | path

Searched refs:Ngram (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_ngram_op.py27 op = text.Ngram(2, separator="-")
60 …dataset = dataset.map(operations=text.Ngram([1, 2, 3], ("_", 2), ("_", 2), " "), input_columns="te…
82 dataset = dataset.map(operations=text.Ngram(3, separator=" "), input_columns="text")
99 …dataset = dataset.map(operations=text.Ngram(n, l_pad, r_pad, separator=sep), input_columns=["text"…
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dtext.h275 class Ngram final : public TensorTransform {
286 …explicit Ngram(const std::vector<int32_t> &ngrams, const std::pair<std::string, int32_t> &left_pad…
288 …: Ngram(ngrams, PairStringToChar(left_pad), PairStringToChar(right_pad), StringToChar(separator)) … in Ngram() function
299 Ngram(const std::vector<int32_t> &ngrams, const std::pair<std::vector<char>, int32_t> &left_pad,
303 ~Ngram() = default;
/third_party/mindspore/mindspore/dataset/text/
D__init__.py28 from .transforms import Lookup, JiebaTokenizer, UnicodeCharTokenizer, Ngram, WordpieceTokenizer, \
Dtransforms.py286 class Ngram(TextTensorOperation): class
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dtext.cc243 struct Ngram::Data {
256 Ngram::Ngram(const std::vector<int32_t> &ngrams, const std::pair<std::vector<char>, int32_t> &left_… in Ngram() function in mindspore::dataset::text::Ngram
260 std::shared_ptr<TensorOperation> Ngram::Parse() { in Parse()
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_text_test.cc2017 std::shared_ptr<TensorTransform> ngram_op(new text::Ngram({2}, {"_", 1}, {"_", 1}, " ")); in TEST_F()
2070 std::shared_ptr<TensorTransform> ngram_op(new text::Ngram({2, 3}, {"&", 2}, {"&", 2}, "-")); in TEST_F()
2127 std::shared_ptr<TensorTransform> ngram_op(new text::Ngram({})); in TEST_F()
2150 std::shared_ptr<TensorTransform> ngram_op(new text::Ngram({0})); in TEST_F()
2173 std::shared_ptr<TensorTransform> ngram_op(new text::Ngram({-2})); in TEST_F()
2196 std::shared_ptr<TensorTransform> ngram_op(new text::Ngram({2}, {"", -1})); in TEST_F()
2219 std::shared_ptr<TensorTransform> ngram_op(new text::Ngram({2}, {"", 1}, {"", -1})); in TEST_F()
/third_party/harfbuzz/test/shaping/
Dhb_test_tools.py300 class Ngram: class
/third_party/skia/third_party/externals/harfbuzz/test/shape/
Dhb_test_tools.py300 class Ngram: class
/third_party/flutter/skia/third_party/externals/harfbuzz/test/shaping/
Dhb_test_tools.py379 class Ngram: class
/third_party/icu/icu4j/perf-tests/data/collation/
Dthesis.txt1571 Ngram