knitr::opts_chunk$set(echo = TRUE)
library(spacyr) txt <- c(doc1 = "Natural Language Processing is a branch of computer science that employs various Artificial Intelligence (AI) techniques to process content written in natural language. NLP-enhanced wikis can support users in finding, developing and organizing knowledge contained inside the wiki repository. ", doc2 = "Paul earned a postgraduate degree from MIT.") (tmp <- spacy_parse(txt, nounphrase = TRUE))
nounphrase_extract(tmp)
nounphrase_consolidate(tmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.