How do i declare a synonym for a double quote in the tm
package ?
I want to declare a synonym for inches as "
I an trying to write something like this in my synonyms list
synonyms <- list(
list(word=""", syns=c("inch"))
)
but the three """
renders everything as comments , so how do i encapsulate a double quote within the double quotes in a tm
package so that it reads "
as an inch in the synonym list
You could use this instead:
synonyms <- list(
list(word="\"", syns=c("inch"))
)