require(spacyr) spacy_initialize()
#spacy_parse("This \n newline fails.") spacy_parse("This \\n newline succeeds.") #spacy_parse("This \t tab fails.") spacy_parse("This \\t tab succeeds.")
Single quotes just plain fail:
#spacy_parse("Failure for \'single\' quotes.") #spacy_parse("Failure for \\\'single\\\' quotes.")
Double-quotes work if you use three \
characters:
spacy_parse("Failure for \"double\" quotes.") #spacy_parse("Success for \\\"double\\\" quotes.")
spacy_parse()
returns previous object value after failurespacy_parse("Parsing this sentence is easy.") #spacy_parse("Failure for \"double\" quotes.")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.