knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of wikimorphemes is to provide tools for extracting morphemes from Wiktionary entries. The wikimorphemes api is not yet stable and may change.
You can install the released version of wikimorphemes from CRAN with:
# No you can't. #install.packages("wikimorphemes")
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("macmillancontentscience/wikimorphemes")
The main function in wikimorphemes is process_word
.
library(wikimorphemes) process_word("unaffable") process_word("understandable") process_word("standing")
If you are going to work on this package, please begin by running download_wikimorphemes_lookup()
. This will download the latest cached version of the lookup (10.7MB), which will then be used in tests.
Please note that the wikimorphemes project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.