search_chengyu_online: search chengyu including a word

Description Usage Arguments Value Author(s) Examples

View source: R/search_chengyu_online.R

Description

input a word, return the all chengyu including this word.

Usage

1
search_chengyu_online(word, showExplanation = TRUE, pinyin = FALSE)

Arguments

showExplanation:

TRUE will return them with explanations

Value

chengyus

Author(s)

lgm

Examples

 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)

Gabegit/gmdata documentation built on May 6, 2019, 5:32 p.m.