Description Usage Arguments Value Author(s) Examples
View source: R/search_chengyu_online.R
input a word, return the all chengyu including this word.
1 | search_chengyu_online(word, showExplanation = TRUE, pinyin = FALSE)
|
showExplanation: |
TRUE will return them with explanations |
chengyus
lgm
1 2 3 4 5 6 7 8 9 10 11 | # search a word without explanations
search_chengyu_online("<e5><90><8d>")
# search a word with explanations
search_chengyu_online("<e6><b0><91>",showExplanation = FALSE)
# search the exact words
search_chengyu_online("<e7><99><be><e4><bb><a3><e6><96><87><e5><ae><97>")
#return only chengyu with pinyin using local data
search_chengyu_online("<e6><9d><8e>",pinyin=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.