Open kinbiko opened 4 years ago
Currently the algorithm for finding relevant words in an xkcd comic doesn't take into account that there may be neighbouring newlines or punctuation (e.g. ., ,).
.
,
Update the algorithm to not only naively use spaces to delimit words.
https://golangcookbook.com/chapters/strings/processing/
Currently the algorithm for finding relevant words in an xkcd comic doesn't take into account that there may be neighbouring newlines or punctuation (e.g.
.
,,
).Update the algorithm to not only naively use spaces to delimit words.