# make phrases from characters
phrase(c("natural language processing"))
phrase(c("natural_language_processing", "text_analysis"), separator = "_")
# from a dictionary
phrase(dictionary(list(catone = c("a b"), cattwo = "c d e", catthree = "f")))
# from a list
as.phrase(list(c("natural", "language", "processing")))
# from tokens
as.phrase(tokens("natural language processing"))
Run the code above in your browser using DataLab