We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e55e4b9 commit 0973e1fCopy full SHA for 0973e1f
1 file changed
server/preprocessing/other-scripts/utils.R
@@ -2,6 +2,7 @@ library(stringdist)
2
library(logging)
3
4
sanitize_query <- function(query) {
5
+ query <- gsub("\\", "", query, fixed=T)
6
sanitized_query <- gsub('[“”]', '"', query)
7
return(list(raw_query=query, sanitized_query=sanitized_query))
8
}
0 commit comments