update
This commit is contained in:
@@ -284,7 +284,10 @@ function textToDict(text::String, keywords::Vector{String};
|
|||||||
kw = []
|
kw = []
|
||||||
# use for loop and detect_keyword function to get the exact variation of each keyword in the text then push to kw list
|
# 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
|
for keyword in keywords
|
||||||
push!(kw, detect_keyword(keyword, text))
|
detected = detect_keyword(keyword, text)
|
||||||
|
if detected !== nothing
|
||||||
|
push!(kw, detected)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
od1, od2 =
|
od1, od2 =
|
||||||
|
|||||||
Reference in New Issue
Block a user