From 63efcade56ff2159dcbf0e01f8ea1f0312da44e4 Mon Sep 17 00:00:00 2001 From: bab2min Date: Tue, 17 Dec 2024 23:08:20 +0900 Subject: [PATCH] Update test_cpp.cpp --- test/test_cpp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_cpp.cpp b/test/test_cpp.cpp index a200125d..09fdee5c 100644 --- a/test/test_cpp.cpp +++ b/test/test_cpp.cpp @@ -413,7 +413,7 @@ TEST(KiwiCpp, HSDataset) for (size_t w : {0, 1, 2, 4}) { //std::cout << w << std::endl; - auto dataset = kw.makeHSDataset(data, batchSize, 0, windowSize, w, 0.); + auto dataset = kw.makeHSDataset(data, batchSize, 0, windowSize, w, 0., 0.); for (size_t i = 0; i < 2; ++i) { size_t totalBatchCnt = 0, totalTokenCnt = 0, s; @@ -436,7 +436,7 @@ TEST(KiwiCpp, HSDataset) }; HSDataset trainset, devset; - trainset = kw.makeHSDataset(data, batchSize, 0, windowSize, 1, 0., tokenFilter, {}, 0.1, false, {}, 0, &devset); + trainset = kw.makeHSDataset(data, batchSize, 0, windowSize, 1, 0., 0., tokenFilter, {}, 0.1, false, {}, 0, &devset); for (size_t i = 0; i < 2; ++i) { {