lookup | R Documentation |
Return readings and meanings or information from kbase
or kmorph
.
lookup(kanji, what = c("readmean", "basic", "morphologic"))
kanji |
a (vector of) character strings containing kanji. |
what |
the sort of information to display. |
This is a very basic interface for a quick lookup information based on exact knowledge of the kanji (provided by a Japanese input method or its UTF-8 code). Most of the information is based on the KANJIDIC2 file by EDRDG (see thank you page) Please use one of the many excellent online kanji dictionaries (see e.g.) more sophisticated lookup methods and more detailed results.
If what
is "readmean" the information is output with cat and there is no return value (invisible NULL)
In the other cases the appropriate subsets of the tables kbase and kmorph are returned
Dominic Schuhmacher schuhmacher@math.uni-goettingen.de
lookup(c("\u6674", "\u66c7", "\u96e8"))
lookup("\u6674\u66c7\u96e8") # same
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.