powered by
A wrapper function to combine words that are found in dictionary (e.g., "star" "fish" --> "starfish")
combine.responses(vec, dictionary)
Vector. A vector with words to potentially be combined
A dictionary to look for (combined) word in. See SemNetDictionaries
SemNetDictionaries
A vector with responses combined based on dictionary entries
# NOT RUN { # Convert "star fish" to "starfish" combine.responses("star fish", SemNetDictionaries::animals.dictionary) # }
Run the code above in your browser using DataLab