This commit is contained in:
narawat lamaiin
2025-03-07 08:23:36 +07:00
parent 8ce9aece1a
commit e8bee5c9db

View File

@@ -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 =