From e8bee5c9db13cfe6ecb8bb5483d975159c33b4ac Mon Sep 17 00:00:00 2001 From: narawat lamaiin Date: Fri, 7 Mar 2025 08:23:36 +0700 Subject: [PATCH] update --- src/util.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/util.jl b/src/util.jl index 344bcc8..6ec8b51 100644 --- a/src/util.jl +++ b/src/util.jl @@ -287,9 +287,7 @@ function textToDict(text::String, keywords::Vector{String}; # use for loop and detect_keyword function to get the exact variation of each keyword in the text then push to kw list for keyword in keywords detected = detect_keyword(keyword, text) - if detected !== nothing - push!(kw, detected) - end + push!(kw, detected) end od1, od2 =