search_easy_mistake: This function helps me to get the easily wrong sound word,...

Description Usage Arguments Value Author(s) Examples

View source: R/search_easy_mistake.R

Description

This function helps me to get the easily wrong sound word, and list all similar words and their pinyins.

Usage

1
search_easy_mistake(my_easy_mistake, onlyTheWord = FALSE)

Arguments

word:

a new word;

pinyin:

using two inner data, pyword(<e5><90><8c><e9><9f><b3><e5><ad><97>), data_uni<e8><af><8d><e8><af><ad><e8><a1><a8><ef><bc><89>

Value

words: all similar words and a pin yin list

Author(s)

lgm

Examples

1
2
3
4
5
6
7
8
search_easy_mistake('<e6><9c><97>')
search_easy_mistake("<e9><99><a4>",onlyTheWord = TRUE)
# pyword(4,) # <c4><81>i  <e5><93><80><e6><8c><a8><e5><9f><83>
#pyword(5:8,) #
#<c3><a1>i     <e6><8c><a8><e7><9a><91><e7><99><8c>
#<c7><8e>i       <e7><9f><ae><e8><94><bc>
#<c3><a0>i   <e8><89><be><e7><88><b1><e9><9a><98><e7><a2><8d>
# <c4><81>n <e5><8e><82><e5><b9><bf><e5><ae><89><e6><b0><a8><e5><ba><b5>

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